#include <ozo/type_traits.h>
Type traits template forward declaration.
Type traits contains information related to it's representation in the database. There are two different kind of traits - built-in types with constant OIDs and custom types with database depent OIDs. The functions below describe neccesary traits. For built-in types traits will be defined there. For custom types user must define traits.
T | — type to examine |
Types | |
using | name = < implementation defined > |
boost::hana::string with name of the type in a database | |
using | oid = < implementation defined > |
ozo::oid_constant with Oid of the built-in type or null_oid_t for non built-in type | |
using | size = < implementation defined > |
ozo::size_constant with size of the type object in bytes or ozo::dynamic_size in other case | |