BitMagic-C++
Typedefs | Functions
strsvsample05.cpp File Reference

Example: str_sparse_vector<> gather deserialization example. More...

#include <iostream>
#include <string>
#include <vector>
#include <assert.h>
#include "bm.h"
#include "bmstrsparsevec.h"
#include "bmsparsevec_serial.h"
Include dependency graph for strsvsample05.cpp:

Go to the source code of this file.

Typedefs

typedef bm::bvector bvector_type
 
typedef bm::str_sparse_vector< char, bvector_type, 5 > str_sv_type
 

Functions

int main (void)
 

Detailed Description

Example: str_sparse_vector<> gather deserialization example.

This example loads a range of a sparse vector from an STL container to save memory and improve deserialization performance

Definition in file strsvsample05.cpp.

Typedef Documentation

◆ bvector_type

Examples
strsvsample05.cpp.

Definition at line 50 of file strsvsample05.cpp.

◆ str_sv_type

Examples
strsvsample05.cpp.

Definition at line 51 of file strsvsample05.cpp.

Function Documentation

◆ main()

int main ( void  )