
5 Feb
2008
5 Feb
'08
10:46 p.m.
AMDG John Torjo wrote:
Como says:
como -a test.cpp Comeau C/C++ 4.3.9 (Apr 4 2007 16:51:45) for _MS_WINDOWS_x86_Beta Copyright 1988-2007 Comeau Computing. All rights reserved. MODE:strict warnings C++ noC++0x_extensions
"test.cpp", line 9: error: no instance of overloaded function "X::foo" matches
To me this looks like a bug in como.
Side-note: both VS2005 and gcc 4.1 compile this code. And yes, this is the type of overloading I was counting on.
It is not a bug in como. Section 14.6.4 of the standard specifies this behavior. Also, como works without the -a. In Christ, Steven Watanabe