ivutils
|
container which stores only unique values (or group of values) of some type T by function inset_ind (insert_group). More...
#include <seqpack.h>
container which stores only unique values (or group of values) of some type T by function inset_ind (insert_group).
if value is unique, it will be stored in container, otherwise it will not. function insert_ind (insert_group) returns index stored data in container. cointainer type could be vector or list. equality of items is checked by comparison prediacate of type comp_pr which must have bool opertor()(const T&,const T&) returning true for duplicated items. cointainer_set is used as a container for stored data in data_pack