Public Types

IsBasicOrEnum< ElementType > Struct Template Reference

This meta-function checks if a type is either bool, double, string, ptime, unsigned int or enum or not. More...

#include <keyvalue/util/IsBasic.h>

List of all members.

Public Types

enum  { value }

Detailed Description

template<typename ElementType>
struct keyvalue::util::IsBasicOrEnum< ElementType >

This meta-function checks if a type is either bool, double, string, ptime, unsigned int or enum or not.

Parameters:
ElementType : The type to be checked.
Return values:
IsBasic<ElementType>::value_ : 1 if ElementType is either bool, double, string, ptime, unsigned int or enum; 0 otherwise.