hash_vec.hpp File Reference

Defines class hash_vec and structures key_hash , key_eql . More...

#include <ders/config.hpp>
#include <algorithm>
#include <ders/text.hpp>

Go to the source code of this file.

Namespaces

namespace  ders

Classes

struct  ders::key_hash< Key >
 Hash functor for hash_vec. More...
struct  ders::ders::key_hash< char >
struct  ders::ders::key_hash< unsigned char >
struct  ders::ders::key_hash< signed char >
struct  ders::ders::key_hash< short >
struct  ders::ders::key_hash< unsigned short >
struct  ders::ders::key_hash< int >
struct  ders::ders::key_hash< unsigned int >
struct  ders::ders::key_hash< long >
struct  ders::ders::key_hash< unsigned long >
struct  ders::ders::key_hash< T * >
struct  ders::ders::key_hash< sh_text >
struct  ders::key_eql< Key >
 Equal functor for hash_vec. More...
class  ders::hash_vec< Key, Val, KeyHash, KeyEql >
 Associative hash container. More...

Defines

#define TRIVIAL_KEY_HASH(type)


Detailed Description

Defines class hash_vec and structures key_hash , key_eql .

Definition in file hash_vec.hpp.


Define Documentation

#define TRIVIAL_KEY_HASH ( type   ) 

Value:

template<>                                           \
struct key_hash<type> {                              \
       size_t operator()(type k) const { return k; } \
}

Definition at line 97 of file hash_vec.hpp.


Generated on Tue Dec 8 11:35:32 2009 for derslib by  doxygen 1.5.5