
5 Feb
2008
5 Feb
'08
11 p.m.
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