MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NonStdNumTypeTraits< T > Struct Template Reference

#include <NdbTypesUtil.hpp>

Inheritance diagram for NonStdNumTypeTraits< T >:
Collaboration diagram for NonStdNumTypeTraits< T >:

Static Public Member Functions

static T lowest ()
static T highest ()
- Static Public Member Functions inherited from NumTypeTraits< T >
static bool isIntegral ()
static bool isSigned ()
static Uint32 size ()
static T smallest ()

Additional Inherited Members

- Public Types inherited from NumTypeTraits< T >
typedef NumTypeMap< T >::DomainT DomainT
typedef NumTypeMap< T >::SignedT SignedT
typedef NumTypeMap< T >::UnsignedT UnsignedT

Detailed Description

template<typename T>
struct NonStdNumTypeTraits< T >

Common Traits of non-standard NDB numeric types.

Unless distinct [U]Int24 value types are defined to represent these proper subsets of [U]Int32 numbers, the correspoding Traits classes need to be defined as separate types (not just mere specializations). Using a derived class does that and allows to partially override.

Definition at line 145 of file NdbTypesUtil.hpp.


The documentation for this struct was generated from the following file: