Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58306 - in trunk: boost/smart_ptr libs/smart_ptr/test
From: pdimov_at_[hidden]
Date: 2009-12-11 17:36:35


Author: pdimov
Date: 2009-12-11 17:36:35 EST (Fri, 11 Dec 2009)
New Revision: 58306
URL: http://svn.boost.org/trac/boost/changeset/58306

Log:
Qualify detail:: references. Detabify sp_typeinfo_test.cpp.
Text files modified:
   trunk/boost/smart_ptr/intrusive_ptr.hpp | 2 +-
   trunk/boost/smart_ptr/shared_ptr.hpp | 10 +++++-----
   trunk/boost/smart_ptr/weak_ptr.hpp | 6 +++---
   trunk/libs/smart_ptr/test/sp_typeinfo_test.cpp | 4 ++--
   4 files changed, 11 insertions(+), 11 deletions(-)

Modified: trunk/boost/smart_ptr/intrusive_ptr.hpp
==============================================================================
--- trunk/boost/smart_ptr/intrusive_ptr.hpp (original)
+++ trunk/boost/smart_ptr/intrusive_ptr.hpp 2009-12-11 17:36:35 EST (Fri, 11 Dec 2009)
@@ -77,7 +77,7 @@
     template<class U>
 #if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
 
- intrusive_ptr( intrusive_ptr<U> const & rhs, typename detail::sp_enable_if_convertible<U,T>::type = detail::sp_empty() )
+ intrusive_ptr( intrusive_ptr<U> const & rhs, typename boost::detail::sp_enable_if_convertible<U,T>::type = boost::detail::sp_empty() )
 
 #else
 

Modified: trunk/boost/smart_ptr/shared_ptr.hpp
==============================================================================
--- trunk/boost/smart_ptr/shared_ptr.hpp (original)
+++ trunk/boost/smart_ptr/shared_ptr.hpp 2009-12-11 17:36:35 EST (Fri, 11 Dec 2009)
@@ -222,7 +222,7 @@
     template<class Y>
 #if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
 
- shared_ptr( shared_ptr<Y> const & r, typename detail::sp_enable_if_convertible<Y,T>::type = detail::sp_empty() )
+ shared_ptr( shared_ptr<Y> const & r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() )
 
 #else
 
@@ -347,7 +347,7 @@
     template<class Y>
 #if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
 
- shared_ptr( shared_ptr<Y> && r, typename detail::sp_enable_if_convertible<Y,T>::type = detail::sp_empty() )
+ shared_ptr( shared_ptr<Y> && r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() )
 
 #else
 
@@ -442,7 +442,7 @@
         return pn < rhs.pn;
     }
 
- void * _internal_get_deleter( detail::sp_typeinfo const & ti ) const
+ void * _internal_get_deleter( boost::detail::sp_typeinfo const & ti ) const
     {
         return pn.get_deleter( ti );
     }
@@ -639,10 +639,10 @@
 
 template<class D, class T> D * get_deleter(shared_ptr<T> const & p)
 {
- D *del = detail::basic_get_deleter<D>(p);
+ D *del = boost::detail::basic_get_deleter<D>(p);
     if(del == 0)
     {
- detail::esft2_deleter_wrapper *del_wrapper = detail::basic_get_deleter<detail::esft2_deleter_wrapper>(p);
+ boost::detail::esft2_deleter_wrapper *del_wrapper = boost::detail::basic_get_deleter<boost::detail::esft2_deleter_wrapper>(p);
 // The following get_deleter method call is fully qualified because
 // older versions of gcc (2.95, 3.2.3) fail to compile it when written del_wrapper->get_deleter<D>()
         if(del_wrapper) del = del_wrapper->::boost::detail::esft2_deleter_wrapper::get_deleter<D>();

Modified: trunk/boost/smart_ptr/weak_ptr.hpp
==============================================================================
--- trunk/boost/smart_ptr/weak_ptr.hpp (original)
+++ trunk/boost/smart_ptr/weak_ptr.hpp 2009-12-11 17:36:35 EST (Fri, 11 Dec 2009)
@@ -63,7 +63,7 @@
     template<class Y>
 #if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
 
- weak_ptr( weak_ptr<Y> const & r, typename detail::sp_enable_if_convertible<Y,T>::type = detail::sp_empty() )
+ weak_ptr( weak_ptr<Y> const & r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() )
 
 #else
 
@@ -79,7 +79,7 @@
     template<class Y>
 #if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
 
- weak_ptr( weak_ptr<Y> && r, typename detail::sp_enable_if_convertible<Y,T>::type = detail::sp_empty() )
+ weak_ptr( weak_ptr<Y> && r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() )
 
 #else
 
@@ -110,7 +110,7 @@
     template<class Y>
 #if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
 
- weak_ptr( shared_ptr<Y> const & r, typename detail::sp_enable_if_convertible<Y,T>::type = detail::sp_empty() )
+ weak_ptr( shared_ptr<Y> const & r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() )
 
 #else
 

Modified: trunk/libs/smart_ptr/test/sp_typeinfo_test.cpp
==============================================================================
--- trunk/libs/smart_ptr/test/sp_typeinfo_test.cpp (original)
+++ trunk/libs/smart_ptr/test/sp_typeinfo_test.cpp 2009-12-11 17:36:35 EST (Fri, 11 Dec 2009)
@@ -28,7 +28,7 @@
     BOOST_TEST( !ti.before( ti ) );
 
     char const * nti = ti.name();
- std::cout << nti << std::endl;
+ std::cout << nti << std::endl;
 
     boost::detail::sp_typeinfo const & tv = BOOST_SP_TYPEID( void );
 
@@ -40,7 +40,7 @@
     BOOST_TEST( !tv.before( tv ) );
 
     char const * ntv = tv.name();
- std::cout << ntv << std::endl;
+ std::cout << ntv << std::endl;
 
     BOOST_TEST( ti != tv );
     BOOST_TEST( !( ti == tv ) );


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk