From b0baebeb0aaa5466684f3eab00e2e7dd07cb79cd Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 20 Aug 2004 17:17:06 +0000 Subject: [PATCH] fix noncopyable, finally [SVN r24618] --- include/boost/noncopyable.hpp | 2 ++ include/boost/utility_fwd.hpp | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/include/boost/noncopyable.hpp b/include/boost/noncopyable.hpp index 019413e..7770bdb 100644 --- a/include/boost/noncopyable.hpp +++ b/include/boost/noncopyable.hpp @@ -29,6 +29,8 @@ namespace noncopyable_ // protection from unintended ADL }; } +typedef noncopyable_::noncopyable noncopyable; + } // namespace boost #endif // BOOST_NONCOPYABLE_HPP_INCLUDED diff --git a/include/boost/utility_fwd.hpp b/include/boost/utility_fwd.hpp index 466eeaa..ff301d4 100644 --- a/include/boost/utility_fwd.hpp +++ b/include/boost/utility_fwd.hpp @@ -18,17 +18,6 @@ namespace boost template < typename MemberType, int UniqueID = 0 > class base_from_member; -// From --------------------------------------------// - - namespace noncopyable_ - { - class noncopyable; - } - - typedef noncopyable_::noncopyable noncopyable; - -// Also has a few function templates - } // namespace boost