CnC
cnc_equal< T > Struct Template Reference

Provides equality operators for hashing. More...


Detailed Description

template<typename T>
struct cnc_equal< T >

Provides equality 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:
true if a equals b, false otherwise

Definition at line 71 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