ivutils
|
Class for packing data of the type T. More...
#include <seqpack.h>
Classes | |
class | iterator |
packer for indices of stored elements in vset More... | |
Protected Attributes | |
index_pack< index_t > | ipack |
container for unique values of packed data | |
Class for packing data of the type T.
Data is placed to some container set_t which stores only unique values. Iterative access to packed data is regulated by packer of integers int_pack which stores indices of packed elements in container set_t. set_t can be container_set<T, container_t> (vector_set or list_set). The comparison predicate is of type comp_pr which must have bool operator()(const T&,const T&) returning true for duplicated items