Public Member Functions | Static Public Member Functions | List of all members
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=(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)))
 

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 (...)
 

Detailed Description

template<typename T>
struct boost::detail::has_new_operator_impl< T >

Definition at line 34 of file has_new_operator.hpp.

Member Function Documentation

template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s1  = sizeof(check_sig1< T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s2  = sizeof(check_sig2< T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s3  = sizeof(check_sig3< T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s4  = sizeof(check_sig4< T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s5  = sizeof(check_sig5< T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( unsigned  ,
s6  = sizeof(check_sig6< T >(0)) 
)
template<typename T >
boost::detail::has_new_operator_impl< T >::BOOST_STATIC_CONSTANT ( bool  ,
value  = (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)) 
)
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:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:34