Go to the documentation of this file. 1 #ifndef BOOST_SMART_PTR_DETAIL_SP_COUNTED_IMPL_HPP_INCLUDED
2 #define BOOST_SMART_PTR_DETAIL_SP_COUNTED_IMPL_HPP_INCLUDED
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
23 #if defined(BOOST_SP_USE_STD_ALLOCATOR) && defined(BOOST_SP_USE_QUICK_ALLOCATOR)
24 # error BOOST_SP_USE_STD_ALLOCATOR and BOOST_SP_USE_QUICK_ALLOCATOR are incompatible.
30 #if defined(BOOST_SP_USE_QUICK_ALLOCATOR)
34 #if defined(BOOST_SP_USE_STD_ALLOCATOR)
43 #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
45 void sp_scalar_constructor_hook(
void * px, std::size_t size,
void * pn );
46 void sp_scalar_destructor_hook(
void * px, std::size_t size,
void * pn );
68 #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
69 boost::sp_scalar_constructor_hook( px,
sizeof(X),
this );
75 #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
76 boost::sp_scalar_destructor_hook(
px_,
sizeof(X),
this );
91 #if defined(BOOST_SP_USE_STD_ALLOCATOR)
93 void *
operator new( std::size_t )
98 void operator delete(
void * p )
105 #if defined(BOOST_SP_USE_QUICK_ALLOCATOR)
107 void *
operator new( std::size_t )
112 void operator delete(
void * p )
124 # pragma option push -Vx-
163 return &
reinterpret_cast<char&
>(
del );
166 #if defined(BOOST_SP_USE_STD_ALLOCATOR)
168 void *
operator new( std::size_t )
173 void operator delete(
void * p )
180 #if defined(BOOST_SP_USE_QUICK_ALLOCATOR)
182 void *
operator new( std::size_t )
187 void operator delete(
void * p )
227 #if !defined( BOOST_NO_CXX11_ALLOCATOR )
229 typedef typename std::allocator_traits<A>::template rebind_alloc< this_type >
A2;
233 typedef typename A::template rebind< this_type >::other
A2;
239 #if !defined( BOOST_NO_CXX11_ALLOCATOR )
249 a2.deallocate(
this, 1 );
259 return &
reinterpret_cast<char&
>(
d_ );
271 #endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_COUNTED_IMPL_HPP_INCLUDED
sp_counted_impl_pda & operator=(sp_counted_impl_pda const &)
sp_counted_impl_pda< P, D, A > this_type
sp_counted_impl_pda(sp_counted_impl_pda const &)
static void dealloc(void *pv)
#define BOOST_SP_TYPEID(T)
sp_counted_impl_pd< P, D > this_type
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
sp_counted_impl_p< X > this_type
virtual void * get_untyped_deleter()
virtual void * get_untyped_deleter()
virtual void * get_deleter(sp_typeinfo const &)
boost::core::typeinfo sp_typeinfo
virtual void * get_untyped_deleter()
sp_counted_impl_pd & operator=(sp_counted_impl_pd const &)
virtual void * get_deleter(sp_typeinfo const &ti)
sp_counted_impl_p(sp_counted_impl_p const &)
virtual void * get_deleter(sp_typeinfo const &ti)
sp_counted_impl_p & operator=(sp_counted_impl_p const &)
sp_counted_impl_pda(P p, D &d, A a)
void checked_delete(T *x)
sp_counted_impl_pd(sp_counted_impl_pd const &)
sp_counted_impl_pd(P p, D &d)
sp_counted_impl_pda(P p, A a)
void destroy(const Type *p)
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:48:40