mirror of
https://github.com/boostorg/utility.git
synced 2025-08-02 06:15:22 +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
|
} // namespace boost
|
||||||
|
|
||||||
#endif // BOOST_NONCOPYABLE_HPP_INCLUDED
|
#endif // BOOST_NONCOPYABLE_HPP_INCLUDED
|
||||||
|
@@ -18,6 +18,17 @@ namespace boost
|
|||||||
template < typename MemberType, int UniqueID = 0 >
|
template < typename MemberType, int UniqueID = 0 >
|
||||||
class base_from_member;
|
class base_from_member;
|
||||||
|
|
||||||
|
// From <boost/noncopyable.hpp> --------------------------------------------//
|
||||||
|
|
||||||
|
namespace noncopyable_
|
||||||
|
{
|
||||||
|
class noncopyable;
|
||||||
|
}
|
||||||
|
|
||||||
|
typedef noncopyable_::noncopyable noncopyable;
|
||||||
|
|
||||||
|
// Also has a few function templates
|
||||||
|
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user