|
BitMagic-C++
|
Example: str_sparse_vector<> set values, optimize memory. More...
#include <iostream>#include <string>#include <vector>#include <cassert>#include "bm.h"#include "bmstrsparsevec.h"#include "bmundef.h"
Go to the source code of this file.
Typedefs | |
| typedef bm::str_sparse_vector< char, bvector_type, 32 > | str_sv_type |
Functions | |
| int | main (void) |
Example: str_sparse_vector<> set values, optimize memory.
Definition in file strsvsample01.cpp.
| typedef bm::str_sparse_vector<char, bvector_type, 32> str_sv_type |
Definition at line 49 of file strsvsample01.cpp.
| int main | ( | void | ) |
Definition at line 51 of file strsvsample01.cpp.
References bm::str_sparse_vector< CharType, BV, STR_SIZE >::assign(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::begin(), BM_DECLARE_TEMP_BLOCK, bm::str_sparse_vector< CharType, BV, STR_SIZE >::end(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::erase(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::insert(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::optimize(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::push_back(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::push_back_null(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::set(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::size(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::try_get(), and bm::use_null.