Author: Daniel Clausen
Date: 06:57:57 08/10/04
Go up one level in this thread
On August 10, 2004 at 09:42:21, Gerd Isenberg wrote: [snip] >In isSliding(piece) the function may be in some global namespace and if "piece" >and "square" are both enum types the compiler is not able to distinguish >between isSliding(piece) and isSliding(square). AFAIK this is only true for C though. In C++, there's only an implicit conversion from any enum type to int. None between int and enum or between two different enums. That alone would be reason enough for me to use a C++ compiler to compile my C-sources. (the C++ compiler is much more restrictive) Sargon
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.