hudson::KeyValue< Key, void > Struct Template Reference

#include <FastHash.h>

List of all members.

Public Types

typedef Key & ref
typedef const Key & const_ref

Public Member Functions

 KeyValue (const Key &k)
 operator ref ()
 operator const_ref () const
bool operator== (const Key &k) const
bool operator!= (const Key &k) const

Public Attributes

Key key_


Detailed Description

template<typename Key>
struct hudson::KeyValue< Key, void >

A templated key/value pair where the value is void.

I don't want to pay for the byte (plus padding) for a Bucket<void>, so this is the result. All the casts return the key.


Member Typedef Documentation

template<typename Key>
typedef const Key& hudson::KeyValue< Key, void >::const_ref
 

template<typename Key>
typedef Key& hudson::KeyValue< Key, void >::ref
 


Constructor & Destructor Documentation

template<typename Key>
hudson::KeyValue< Key, void >::KeyValue const Key &  k  )  [inline]
 


Member Function Documentation

template<typename Key>
hudson::KeyValue< Key, void >::operator const_ref  )  const [inline]
 

template<typename Key>
hudson::KeyValue< Key, void >::operator ref  )  [inline]
 

template<typename Key>
bool hudson::KeyValue< Key, void >::operator!= const Key &  k  )  const [inline]
 

template<typename Key>
bool hudson::KeyValue< Key, void >::operator== const Key &  k  )  const [inline]
 


Member Data Documentation

template<typename Key>
Key hudson::KeyValue< Key, void >::key_
 


The documentation for this struct was generated from the following file:
Generated on Thu Mar 27 19:04:16 2008 by  doxygen 1.4.6