Boost.Container Header Reference Boost , The Boost C++ Libraries BoostBook Documentation Subset , Chapter 9. Boost.Container
Boost.Container Header Referencenamespace boost {
namespace container {
template < typename T, std :: size_t NodesPerBlock = ADP_nodes_per_block ,
std :: size_t MaxFreeBlocks = ADP_max_free_blocks ,
std :: size_t OverheadPercent = ADP_overhead_percent >
class adaptive_pool ;
}
} namespace boost {
namespace container {
template < typename T, unsigned Version = 2 ,
unsigned int AllocationDisableMask = 0 >
class allocator ;
}
} namespace boost {
namespace container {
template < typename Allocator> struct allocator_traits ;
}
} namespace boost {
namespace container {
template < typename T, typename Allocator = new_allocator < T > > class deque ;
}
} namespace boost {
namespace container {
template < typename Key, typename T, typename Compare = std :: less < Key > ,
typename Allocator = new_allocator < std :: pair < Key , T > > >
class flat_map ;
template < typename Key, typename T, typename Compare = std :: less < Key > ,
typename Allocator = new_allocator < std :: pair < Key , T > > >
class flat_multimap ;
}
} namespace boost {
namespace container {
namespace pmr {
template < typename Key, typename T, typename Compare = std :: less < Key > ,
typename Options = tree_assoc_defaults >
struct flat_map_of ;
template < typename Key, typename T, typename Compare = std :: less < Key > ,
typename Options = tree_assoc_defaults >
struct flat_multimap_of ;
typedef boost::container::flat_map < Key , T , Compare , polymorphic_allocator < std :: pair < Key , T > > > flat_map ;
typedef boost::container::flat_multimap < Key , T , Compare , polymorphic_allocator < std :: pair < Key , T > > > flat_multimap ;
}
}
} namespace boost {
namespace container {
template < typename Key, typename Compare = std :: less < Key > ,
typename Allocator = new_allocator < Key > >
class flat_set ;
template < typename Key, typename Compare = std :: less < Key > ,
typename Allocator = new_allocator < Key > >
class flat_multiset ;
}
} namespace boost {
namespace container {
template < typename T, typename Allocator = new_allocator < T > > class list ;
}
} namespace boost {
namespace container {
template < typename Key, typename T, typename Compare = std :: less < Key > ,
typename Allocator = new_allocator < std :: pair < const Key , T > > ,
typename Options = tree_assoc_defaults >
class map ;
template < typename Key, typename T, typename Compare = std :: less < Key > ,
typename Allocator = new_allocator < std :: pair < const Key , T > > ,
typename Options = tree_assoc_defaults >
class multimap ;
}
} namespace boost {
namespace container {
namespace pmr {
template < typename Key, typename T, typename Compare = std :: less < Key > ,
typename Options = tree_assoc_defaults >
struct map_of ;
template < typename Key, typename T, typename Compare = std :: less < Key > ,
typename Options = tree_assoc_defaults >
struct multimap_of ;
typedef boost::container::map < Key , T , Compare , polymorphic_allocator < std :: pair < const Key , T > > , Options > map ;
typedef boost::container::multimap < Key , T , Compare , polymorphic_allocator < std :: pair < const Key , T > > , Options > multimap ;
}
}
} namespace boost {
namespace container {
template < typename T,
std :: size_t NodesPerBlock = NodeAlloc_nodes_per_block >
class node_allocator ;
}
} namespace boost {
namespace container {
template < typename NodeType, typename Value, typename Allocator,
typename KeyMapped = void >
class node_handle ;
template < typename Iterator, typename NodeType>
struct insert_return_type_base ;
}
} namespace boost {
namespace container {
namespace pmr {
class memory_resource ;
}
}
} namespace boost {
namespace container {
namespace pmr {
struct pool_options ;
}
}
} namespace boost {
namespace container {
template < typename OuterAlloc, typename ... InnerAllocs>
class scoped_allocator_adaptor ;
template < typename OuterA1, typename OuterA2,
BOOST_CONTAINER_SCOPEDALLOC_ALLINNERCLASS >
bool operator == ( const scoped_allocator_adaptor < OuterA1 , InnerAllocs ... > & a,
const scoped_allocator_adaptor < OuterA2 , InnerAllocs ... > & b) ;
template < typename OuterA1, typename OuterA2,
BOOST_CONTAINER_SCOPEDALLOC_ALLINNERCLASS >
bool operator != ( const scoped_allocator_adaptor < OuterA1 , InnerAllocs ... > & a,
const scoped_allocator_adaptor < OuterA2 , InnerAllocs ... > & b) ;
}
} namespace boost {
namespace container {
template < typename Key, typename Compare = std :: less < Key > ,
typename Allocator = new_allocator < Key > ,
typename Options = tree_assoc_defaults >
class set ;
template < typename Key, typename Compare = std :: less < Key > ,
typename Allocator = new_allocator < Key > ,
typename Options = tree_assoc_defaults >
class multiset ;
}
} namespace boost {
namespace container {
namespace pmr {
template < typename Key, typename Compare = std :: less < Key > ,
typename Options = tree_assoc_defaults >
struct set_of ;
template < typename Key, typename Compare = std :: less < Key > ,
typename Options = tree_assoc_defaults >
struct multiset_of ;
typedef boost::container::set < Key , Compare , polymorphic_allocator < Key > , Options > set ;
typedef boost::container::multiset < Key , Compare , polymorphic_allocator < Key > , Options > multiset ;
}
}
} namespace boost {
namespace container {
template < typename T, typename Allocator = new_allocator < T > > class slist ;
}
} namespace std {
template < typename T, typename Allocator>
class insert_iterator < boost :: container :: slist < T , Allocator > > ;
} namespace boost {
namespace container {
template < typename Value, std :: size_t Capacity> class static_vector ;
template < typename V, std :: size_t C1, std :: size_t C2>
bool operator == ( static_vector < V , C1 > const & ,
static_vector < V , C2 > const & ) ;
template < typename V, std :: size_t C1, std :: size_t C2>
bool operator != ( static_vector < V , C1 > const & ,
static_vector < V , C2 > const & ) ;
template < typename V, std :: size_t C1, std :: size_t C2>
bool operator < ( static_vector < V , C1 > const & ,
static_vector < V , C2 > const & ) ;
template < typename V, std :: size_t C1, std :: size_t C2>
bool operator > ( static_vector < V , C1 > const & ,
static_vector < V , C2 > const & ) ;
template < typename V, std :: size_t C1, std :: size_t C2>
bool operator <= ( static_vector < V , C1 > const & ,
static_vector < V , C2 > const & ) ;
template < typename V, std :: size_t C1, std :: size_t C2>
bool operator >= ( static_vector < V , C1 > const & ,
static_vector < V , C2 > const & ) ;
template < typename V, std :: size_t C1, std :: size_t C2>
void swap ( static_vector < V , C1 > & , static_vector < V , C2 > & ) ;
}
} namespace boost {
namespace container {
template < typename CharT, typename Traits = std :: char_traits < CharT > ,
typename Allocator = new_allocator < CharT > >
class basic_string ;
typedef basic_string < char , std :: char_traits < char > , new_allocator < char > > string ;
typedef basic_string < wchar_t , std :: char_traits < wchar_t > , new_allocator < wchar_t > > wstring ;
template < typename CharT, typename Traits, typename Allocator>
basic_string < CharT , Traits , Allocator >
operator + ( const basic_string < CharT , Traits , Allocator > & x,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
basic_string < CharT , Traits , Allocator >
operator + ( basic_string < CharT , Traits , Allocator > && x,
basic_string < CharT , Traits , Allocator > && y) ;
template < typename CharT, typename Traits, typename Allocator>
basic_string < CharT , Traits , Allocator >
operator + ( basic_string < CharT , Traits , Allocator > && x,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
basic_string < CharT , Traits , Allocator >
operator + ( const basic_string < CharT , Traits , Allocator > & x,
basic_string < CharT , Traits , Allocator > && y) ;
template < typename CharT, typename Traits, typename Allocator>
basic_string < CharT , Traits , Allocator >
operator + ( const CharT * s, basic_string < CharT , Traits , Allocator > y) ;
template < typename CharT, typename Traits, typename Allocator>
basic_string < CharT , Traits , Allocator >
operator + ( basic_string < CharT , Traits , Allocator > x, const CharT * s) ;
template < typename CharT, typename Traits, typename Allocator>
basic_string < CharT , Traits , Allocator >
operator + ( CharT c, basic_string < CharT , Traits , Allocator > y) ;
template < typename CharT, typename Traits, typename Allocator>
basic_string < CharT , Traits , Allocator >
operator + ( basic_string < CharT , Traits , Allocator > x, const CharT c) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator == ( const basic_string < CharT , Traits , Allocator > & x,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator == ( const CharT * s,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator == ( const basic_string < CharT , Traits , Allocator > & x,
const CharT * s) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator != ( const basic_string < CharT , Traits , Allocator > & x,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator != ( const CharT * s,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator != ( const basic_string < CharT , Traits , Allocator > & x,
const CharT * s) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator < ( const basic_string < CharT , Traits , Allocator > & x,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator < ( const CharT * s,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator < ( const basic_string < CharT , Traits , Allocator > & x,
const CharT * s) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator > ( const basic_string < CharT , Traits , Allocator > & x,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator > ( const CharT * s,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator > ( const basic_string < CharT , Traits , Allocator > & x,
const CharT * s) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator <= ( const basic_string < CharT , Traits , Allocator > & x,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator <= ( const CharT * s,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator <= ( const basic_string < CharT , Traits , Allocator > & x,
const CharT * s) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator >= ( const basic_string < CharT , Traits , Allocator > & x,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator >= ( const CharT * s,
const basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
bool operator >= ( const basic_string < CharT , Traits , Allocator > & x,
const CharT * s) ;
template < typename CharT, typename Traits, typename Allocator>
void swap ( basic_string < CharT , Traits , Allocator > & x,
basic_string < CharT , Traits , Allocator > & y) ;
template < typename CharT, typename Traits, typename Allocator>
std :: basic_ostream < CharT , Traits > &
operator << ( std :: basic_ostream < CharT , Traits > & os,
const basic_string < CharT , Traits , Allocator > & s) ;
template < typename CharT, typename Traits, typename Allocator>
std :: basic_istream < CharT , Traits > &
operator >> ( std :: basic_istream < CharT , Traits > & is,
basic_string < CharT , Traits , Allocator > & s) ;
template < typename CharT, typename Traits, typename Allocator>
std :: basic_istream < CharT , Traits > &
getline ( std :: istream & is, basic_string < CharT , Traits , Allocator > & s,
CharT delim) ;
template < typename CharT, typename Traits, typename Allocator>
std :: basic_istream < CharT , Traits > &
getline ( std :: basic_istream < CharT , Traits > & is,
basic_string < CharT , Traits , Allocator > & s) ;
template < typename Ch, typename Allocator>
std :: size_t hash_value ( basic_string < Ch , std :: char_traits < Ch > , Allocator > const & v) ;
}
} namespace boost {
namespace container {
template < typename T, typename Allocator = new_allocator < T > > class vector ;
}
} Статья Boost.Container Header Reference раздела The Boost C++ Libraries BoostBook Documentation Subset Chapter 9. Boost.Container может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Chapter 9. Boost.Container ::