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

Example: bm::rsc_sparse_vector<> known NULL elements access. More...

#include <iostream>
#include <vector>
#include <cassert>
#include "bm.h"
#include "bmsparsevec.h"
#include "bmsparsevec_compr.h"
#include "bmundef.h"
Include dependency graph for rscsample04.cpp:

Go to the source code of this file.

Typedefs

typedef bm::sparse_vector< unsigned, bm::bvector<> > sparse_vector_u32
 
typedef bm::rsc_sparse_vector< unsigned, sparse_vector_u32rsc_sparse_vector_u32
 

Functions

template<typename SV >
void PrintSV (const SV &sv)
 Print sparse vector not NULL elements. More...
 
int main (void)
  More...
 

Detailed Description

Example: bm::rsc_sparse_vector<> known NULL elements access.

Definition in file rscsample04.cpp.

Function Documentation

◆ main()

int main ( void  )

◆ PrintSV()

template<typename SV >
void PrintSV ( const SV &  sv)

Print sparse vector not NULL elements.

Examples
rscsample04.cpp.

Definition at line 54 of file rscsample04.cpp.

Referenced by main().