|
Boost : |
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-02-05 17:46:02
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk