BitMagic-C++
|
Example: sparse_vector<> serialization. More...
#include <iostream>
#include <vector>
#include "bm.h"
#include "bmsparsevec.h"
#include "bmsparsevec_serial.h"
Go to the source code of this file.
Typedefs | |
typedef bm::sparse_vector< unsigned, bm::bvector<> > | svector |
Functions | |
int | main (void) |
Example: sparse_vector<> serialization.
Definition in file svsample02.cpp.
typedef bm::sparse_vector<unsigned, bm::bvector<> > svector |
Definition at line 43 of file svsample02.cpp.
int main | ( | void | ) |
Definition at line 45 of file svsample02.cpp.
References BM_DECLARE_TEMP_BLOCK, bm::sparse_vector_serial_layout< SV >::buf(), bm::sparse_vector< Val, BV >::equal(), bm::sparse_vector< Val, BV >::optimize(), bm::sparse_vector< Val, BV >::push_back(), bm::sparse_vector_serial_layout< SV >::size(), bm::sparse_vector< Val, BV >::size(), bm::sparse_vector_deserialize(), and bm::sparse_vector_serialize().