
14 Jun
2006
14 Jun
'06
9:50 p.m.
"Steven E. Harris"
me22
writes: Presumably if noncopyable were defined in namespace boost, then function calls involving classes deriving from noncopyable would get namespace boost added to the ADL scopes in which the function is looked up.
Even if the derivation is private, as it should be for such an implementation detail?
Yes. Lookup and access rights are orthogonal in C++. -- Dave Abrahams Boost Consulting www.boost-consulting.com