mirror of
https://github.com/boostorg/utility.git
synced 2025-07-31 21:34:46 +02:00
ADL protection
[SVN r24595]
This commit is contained in:
@@ -29,8 +29,6 @@ namespace noncopyable_ // protection from unintended ADL
|
||||
};
|
||||
}
|
||||
|
||||
typedef noncopyable_::noncopyable noncopyable;
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_NONCOPYABLE_HPP_INCLUDED
|
||||
|
@@ -18,6 +18,17 @@ namespace boost
|
||||
template < typename MemberType, int UniqueID = 0 >
|
||||
class base_from_member;
|
||||
|
||||
// From <boost/noncopyable.hpp> --------------------------------------------//
|
||||
|
||||
namespace noncopyable_
|
||||
{
|
||||
class noncopyable;
|
||||
}
|
||||
|
||||
typedef noncopyable_::noncopyable noncopyable;
|
||||
|
||||
// Also has a few function templates
|
||||
|
||||
} // namespace boost
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user