|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-06-14 17:50:47
"Steven E. Harris" <seh_at_[hidden]> writes:
> me22 <me22.ca_at_[hidden]> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net