Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::detail::has_new_operator_impl< T > Struct Template Reference

#include <has_new_operator.hpp>

Public Member Functions

 BOOST_STATIC_CONSTANT (unsigned, s1=sizeof(check_sig1< T >(0)))
 
 BOOST_STATIC_CONSTANT (unsigned, s2=sizeof(check_sig2< T >(0)))
 
 BOOST_STATIC_CONSTANT (unsigned, s3=sizeof(check_sig3< T >(0)))
 
 BOOST_STATIC_CONSTANT (unsigned, s4=sizeof(check_sig4< T >(0)))
 
 BOOST_STATIC_CONSTANT (unsigned, s5=sizeof(check_sig5< T >(0)))
 
 BOOST_STATIC_CONSTANT (unsigned, s6=sizeof(check_sig6< T >(0)))
 
 BOOST_STATIC_CONSTANT (bool, value=(::boost::type_traits::ice_or< (s1==sizeof(type_traits::yes_type)),(s2==sizeof(type_traits::yes_type)),(s3==sizeof(type_traits::yes_type)),(s4==sizeof(type_traits::yes_type)),(s5==sizeof(type_traits::yes_type)),(s6==sizeof(type_traits::yes_type)) >::value))
 

Static Public Member Functions

template<class U >
static type_traits::yes_type check_sig1 (U *, test< void *(*)(std::size_t),&U::operator new > *=NULL)
 
template<class U >
static type_traits::no_type check_sig1 (...)
 
template<class U >
static type_traits::yes_type check_sig2 (U *, test< void *(*)(std::size_t, const std::nothrow_t &),&U::operator new > *=NULL)
 
template<class U >
static type_traits::no_type check_sig2 (...)
 
template<class U >
static type_traits::yes_type check_sig3 (U *, test< void *(*)(std::size_t, void *),&U::operator new > *=NULL)
 
template<class U >
static type_traits::no_type check_sig3 (...)
 
template<class U >
static type_traits::yes_type check_sig4 (U *, test< void *(*)(std::size_t),&U::operator new[] > *=NULL)
 
template<class U >
static type_traits::no_type check_sig4 (...)
 
template<class U >
static type_traits::yes_type check_sig5 (U *, test< void *(*)(std::size_t, const std::nothrow_t &),&U::operator new[] > *=NULL)
 
template<class U >
static type_traits::no_type check_sig5 (...)
 
template<class U >
static type_traits::yes_type check_sig6 (U *, test< void *(*)(std::size_t, void *),&U::operator new[] > *=NULL)
 
template<class U >
static type_traits::no_type check_sig6 (...)
 

Member Function Documentation

template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s1  = sizeof(check_sig1T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s2  = sizeof(check_sig2T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s3  = sizeof(check_sig3T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s4  = sizeof(check_sig4T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s5  = sizeof(check_sig5T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s6  = sizeof(check_sig6T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( bool  ,
value  = (::boost::type_traits::ice_or< (s1==sizeof(type_traits::yes_type)),(s2==sizeof(type_traits::yes_type)),(s3==sizeof(type_traits::yes_type)),(s4==sizeof(type_traits::yes_type)),(s5==sizeof(type_traits::yes_type)),(s6==sizeof(type_traits::yes_type)) >::value) 
)
template<typename T >
template<class U >
static type_traits::yes_type boost::detail::has_new_operator_impl< T >::check_sig1 ( U *  ,
test< void *(*)(std::size_t),&U::operator new > *  = NULL 
)
static
template<typename T >
template<class U >
static type_traits::no_type boost::detail::has_new_operator_impl< T >::check_sig1 (   ...)
static
template<typename T >
template<class U >
static type_traits::yes_type boost::detail::has_new_operator_impl< T >::check_sig2 ( U *  ,
test< void *(*)(std::size_t, const std::nothrow_t &),&U::operator new > *  = NULL 
)
static
template<typename T >
template<class U >
static type_traits::no_type boost::detail::has_new_operator_impl< T >::check_sig2 (   ...)
static
template<typename T >
template<class U >
static type_traits::yes_type boost::detail::has_new_operator_impl< T >::check_sig3 ( U *  ,
test< void *(*)(std::size_t, void *),&U::operator new > *  = NULL 
)
static
template<typename T >
template<class U >
static type_traits::no_type boost::detail::has_new_operator_impl< T >::check_sig3 (   ...)
static
template<typename T >
template<class U >
static type_traits::yes_type boost::detail::has_new_operator_impl< T >::check_sig4 ( U *  ,
test< void *(*)(std::size_t),&U::operator new[] > *  = NULL 
)
static
template<typename T >
template<class U >
static type_traits::no_type boost::detail::has_new_operator_impl< T >::check_sig4 (   ...)
static
template<typename T >
template<class U >
static type_traits::yes_type boost::detail::has_new_operator_impl< T >::check_sig5 ( U *  ,
test< void *(*)(std::size_t, const std::nothrow_t &),&U::operator new[] > *  = NULL 
)
static
template<typename T >
template<class U >
static type_traits::no_type boost::detail::has_new_operator_impl< T >::check_sig5 (   ...)
static
template<typename T >
template<class U >
static type_traits::yes_type boost::detail::has_new_operator_impl< T >::check_sig6 ( U *  ,
test< void *(*)(std::size_t, void *),&U::operator new[] > *  = NULL 
)
static
template<typename T >
template<class U >
static type_traits::no_type boost::detail::has_new_operator_impl< T >::check_sig6 (   ...)
static

The documentation for this struct was generated from the following file: