9 #ifndef BOOST_TT_HAS_NEW_OPERATOR_HPP_INCLUDED 10 #define BOOST_TT_HAS_NEW_OPERATOR_HPP_INCLUDED 19 # if BOOST_WORKAROUND(BOOST_MSVC, >= 1310) 20 # define BOOST_TT_AUX_MACRO_NEW_DEFINED 21 # pragma push_macro("new") 24 # error "Sorry but you can't include this header if 'new' is defined as a macro." 30 template <
class U, U x>
39 void *(*)(std::size_t),
50 void *(*)(std::size_t,
const std::nothrow_t&),
61 void *(*)(std::size_t,
void*),
73 void *(*)(std::size_t),
84 void *(*)(std::size_t,
const std::nothrow_t&),
95 void *(*)(std::size_t,
void*),
112 #if BOOST_WORKAROUND(BOOST_MSVC_FULL_VER, >= 140050000) 113 #pragma warning(push) 114 #pragma warning(disable:6334) 124 #if BOOST_WORKAROUND(BOOST_MSVC_FULL_VER, >= 140050000) 143 #if defined(BOOST_TT_AUX_MACRO_NEW_DEFINED) 144 # pragma pop_macro("new") 147 #endif // BOOST_TT_HAS_NEW_OPERATOR_HPP_INCLUDED BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
static type_traits::yes_type check_sig2(U *, test< void *(*)(std::size_t, const std::nothrow_t &),&U::operator new > *=NULL)
static type_traits::yes_type check_sig5(U *, test< void *(*)(std::size_t, const std::nothrow_t &),&U::operator new[] > *=NULL)
static type_traits::yes_type check_sig3(U *, test< void *(*)(std::size_t, void *),&U::operator new > *=NULL)
static type_traits::yes_type check_sig6(U *, test< void *(*)(std::size_t, void *),&U::operator new[] > *=NULL)
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat s1
BOOST_STATIC_CONSTANT(unsigned, s1=sizeof(check_sig1< T >(0)))
static type_traits::yes_type check_sig1(U *, test< void *(*)(std::size_t),&U::operator new > *=NULL)
static type_traits::yes_type check_sig4(U *, test< void *(*)(std::size_t),&U::operator new[] > *=NULL)