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

#include <zlib.hpp>

Inheritance diagram for boost::iostreams::detail::zlib_allocator< Alloc, Base >:
Collaboration diagram for boost::iostreams::detail::zlib_allocator< Alloc, Base >:

Public Types

typedef zlib_allocator_traits
< Alloc >::type 
allocator_type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, custom=(!is_same< std::allocator< char >, Base >::value))
 

Static Public Member Functions

static void * allocate (void *self, zlib::uint items, zlib::uint size)
 
static void deallocate (void *self, void *address)
 

Member Typedef Documentation

template<typename Alloc, typename Base = BOOST_DEDUCED_TYPENAME zlib_allocator_traits<Alloc>::type>
typedef zlib_allocator_traits<Alloc>::type boost::iostreams::detail::zlib_allocator< Alloc, Base >::allocator_type

Member Function Documentation

template<typename Alloc , typename Base >
void * boost::iostreams::detail::zlib_allocator< Alloc, Base >::allocate ( void *  self,
zlib::uint  items,
zlib::uint  size 
)
static
template<typename Alloc, typename Base = BOOST_DEDUCED_TYPENAME zlib_allocator_traits<Alloc>::type>
boost::iostreams::detail::zlib_allocator< Alloc, Base >::BOOST_STATIC_CONSTANT ( bool  ,
custom  = (!is_same< std::allocator< char >, Base >::value) 
)
template<typename Alloc , typename Base >
void boost::iostreams::detail::zlib_allocator< Alloc, Base >::deallocate ( void *  self,
void *  address 
)
static

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