1 #ifndef BOOST_DETAIL_SP_TYPEINFO_HPP_INCLUDED 2 #define BOOST_DETAIL_SP_TYPEINFO_HPP_INCLUDED 6 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 20 #if defined( BOOST_NO_TYPEID ) 42 explicit sp_typeinfo(
char const * name ): name_( name )
58 return std::less< sp_typeinfo const* >()(
this, &rhs );
61 char const* name()
const 67 template<
class T>
struct sp_typeid_
71 static char const * name()
77 #if defined(__SUNPRO_CC) 80 template<
class T>
sp_typeinfo sp_typeid_< T >::ti_ = sp_typeid_< T >::name();
82 template<
class T>
sp_typeinfo sp_typeid_< T >::ti_(sp_typeid_< T >::name());
85 template<
class T>
struct sp_typeid_< T & >: sp_typeid_< T >
89 template<
class T>
struct sp_typeid_< T const >: sp_typeid_< T >
93 template<
class T>
struct sp_typeid_< T volatile >: sp_typeid_< T >
97 template<
class T>
struct sp_typeid_< T const volatile >: sp_typeid_< T >
105 #define BOOST_SP_TYPEID(T) (boost::detail::sp_typeid_<T>::ti_) 117 #if defined( BOOST_NO_STD_TYPEINFO ) 131 #define BOOST_SP_TYPEID(T) typeid(T) 135 #endif // #ifndef BOOST_DETAIL_SP_TYPEINFO_HPP_INCLUDED
#define BOOST_CURRENT_FUNCTION
bool operator==(shared_ptr< T > const &a, shared_ptr< U > const &b) BOOST_NOEXCEPT
std::type_info sp_typeinfo
bool operator!=(shared_ptr< T > const &a, shared_ptr< U > const &b) BOOST_NOEXCEPT