CnC
cnc_hash< T > Struct Template Reference

Provides hash operators for hashing. More...


Detailed Description

template<typename T>
struct cnc_hash< T >

Provides hash operators for hashing.

Specializations for custom data types must implement hash and equal to work with preserving tag-collections (CnC::preserve_tuner) and/or (default) CnC::item_collection using hashmaps.

Standard data types are supported out-of-the-box as well as std::vector and std:pair thereof, char*, std::string and pointers (which you better avoid if ever possible, because it pointers as tags are not portable, e.g. to distributed memory).

Returns:
a unique integer for the given tag

Definition at line 55 of file cnc_tag_hash_compare.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerator Friends