|
BitMagic-C++
|
#include <bm.h>
Public Member Functions | |
| mem_pool_guard () BMNOEXCEPT | |
| mem_pool_guard (allocator_pool_type &pool, bvector< Alloc > &bv) BMNOEXCEPT | |
| ~mem_pool_guard () | |
| void | assign_if_not_set (allocator_pool_type &pool, bvector< Alloc > &bv) BMNOEXCEPT |
| check if vector has no assigned allocator and set one | |
Resource guard for bvector<>::set_allocator_pool()
|
inline |
Definition at line 774 of file bm.h.
References BMNOEXCEPT.
|
inline |
Definition at line 777 of file bm.h.
References BMNOEXCEPT, and bm::bvector< Alloc >::bvector().
|
inline |
|
inline |
check if vector has no assigned allocator and set one
Definition at line 789 of file bm.h.
References BM_ASSERT, BMNOEXCEPT, and bm::bvector< Alloc >::bvector().
Referenced by bm::set2set_11_transform< SV >::attach_sv(), bm::deserializer< BV, DEC >::deserialize(), bm::sparse_vector_scanner< SV >::find_eq(), bm::serializer< BV >::optimize_serialize_destroy(), bm::set2set_11_transform< SV >::remap(), bm::set2set_11_transform< SV >::remap(), and bm::sparse_vector_find_mismatch().