15 #include <boost/make_shared.hpp> 16 #include <boost/pool/pool_alloc.hpp> 31 template <
typename T,
class... Args>
34 using allocator_t = ::boost::fast_pool_allocator<::boost::shared_ptr<T>>;
48 template <
typename T,
class... Args>
51 using allocator_t = ::boost::pool_allocator<::boost::shared_ptr<T>>;
void *(* allocator_t)(size_t)
Allocator function that should allocate a buffer of the given size on the caller side and return a po...
::boost::shared_ptr< T > make_shared_from_fast_pool(Args &&... args)
Make a shared instance of an object from Boost fast pool (suitable for e.g. elements of a std::list o...
::boost::shared_ptr< T > make_shared_from_pool(Args &&... args)
Make a shared instance of an object from Boost pool (suitable for e.g. elements of a std::vector or a...