CnC
 All Classes Namespaces Functions Variables Typedefs Enumerator Friends Groups Pages
Public Member Functions
cnc_tag_hash_compare< T > Struct Template Reference

Provides hash and equality operators for hashing as used by item_collections. More...

List of all members.

Public Member Functions

size_t hash (const T &x) const
bool equal (const T &x, const T &y) const

Detailed Description

template<class T>
struct cnc_tag_hash_compare< T >

Provides hash and equality operators for hashing as used by item_collections.

It is recommended to specilialize cnc_hash and/or cnc_equal rather than cnc_tag_hash_compare

Definition at line 193 of file cnc_tag_hash_compare.h.


Member Function Documentation

bool equal ( const T &  x,
const T &  y 
) const
inline
Returns:
true if a equals b, false otherwise

Definition at line 201 of file cnc_tag_hash_compare.h.

{
}
size_t hash ( const T &  x) const
inline
Returns:
a unique integer for the given tag

Definition at line 196 of file cnc_tag_hash_compare.h.

{
}

The documentation for this struct was generated from the following file: