A traits class that specifies whether data is accessed using full key dispatches (object and type), or using the key type only. More...
#include <key_dispatch.hpp>
Public Types | |
typedef full_key_dispatch_tag | tag |
A traits class that specifies whether data is accessed using full key dispatches (object and type), or using the key type only.
For changing the default full dispatch to a type-based dispatch, overload this class appropriately E.g. to use a type-based dispatch for keys of type QuickKey, write
template <> struct key_dispatch<QuickKey> { typedef type_key_dispatch_tag tag; };
Mind that this overload has to be placed in namespace viennadata.
KeyType | The type of the key for which the dispatch scheme is specified. |
typedef full_key_dispatch_tag tag |