BitMagic-C++
bm::bvector< Alloc >::mem_pool_guard Class Reference

#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

Detailed Description

template<class Alloc>
class bm::bvector< Alloc >::mem_pool_guard

Resource guard for bvector<>::set_allocator_pool()

Definition at line 771 of file bm.h.

Constructor & Destructor Documentation

◆ mem_pool_guard() [1/2]

template<class Alloc>
bm::bvector< Alloc >::mem_pool_guard::mem_pool_guard ( )
inline

Definition at line 774 of file bm.h.

References BMNOEXCEPT.

◆ mem_pool_guard() [2/2]

template<class Alloc>
bm::bvector< Alloc >::mem_pool_guard::mem_pool_guard ( allocator_pool_type & pool,
bvector< Alloc > & bv )
inline

Definition at line 777 of file bm.h.

References BMNOEXCEPT, and bm::bvector< Alloc >::bvector().

◆ ~mem_pool_guard()

template<class Alloc>
bm::bvector< Alloc >::mem_pool_guard::~mem_pool_guard ( )
inline

Definition at line 782 of file bm.h.

Member Function Documentation

◆ assign_if_not_set()


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