|
Boost : |
From: John Torjo (john.groups_at_[hidden])
Date: 2008-02-05 18:00:38
>
>>>
>>>
>>>
>> 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.
>
14.6.4.2
"For the part of the lookup using associated namespaces (3.4.2), only
function declarations with external
linkage found in either the template definition context or *the template
instantiation context *are found."
That to me sounds like a bug in como.
Best,
John
-- http://John.Torjo.com -- C++ expert http://blog.torjo.com ... call me only if you want things done right
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk