This file provides the default key dispatch method. More...
#include "viennadata/forwards.h"
Go to the source code of this file.
Data Structures | |
struct | key_dispatch< KeyType > |
A traits class that specifies whether data is accessed using full key dispatches (object and type), or using the key type only. More... | |
Namespaces | |
namespace | viennadata |
namespace | viennadata::config |
Defines | |
#define | VIENNADATA_ENABLE_TYPE_BASED_KEY_DISPATCH(arg_CLASS) |
A convenience macro for enabling type-based key dispatch: arg_CLASS denotes the key type for which type-based dispatch should be enabled. |
This file provides the default key dispatch method.
#define VIENNADATA_ENABLE_TYPE_BASED_KEY_DISPATCH | ( | arg_CLASS | ) |
namespace viennadata { namespace config { \ template <> struct key_dispatch<arg_CLASS> { typedef type_key_dispatch_tag tag; }; \ } }
A convenience macro for enabling type-based key dispatch: arg_CLASS denotes the key type for which type-based dispatch should be enabled.