Table of Contents
Mapped types are C++ types that quince (with help from the backends) knows how to represent. A mapped type is allowed to be:
T
in table<
T
>
or query<
T
>
,
order()
,
What makes a C++ type a mapped type is that it has a mapper class. We can categorize mapped types according to the way the mapper class is supplied.
serial
bool
float
and double
std::string
std::vector<uint8_t>
boost::posix_time::ptime
boost::optional<
T
>
, where T
is a mapped type
std::tuple<
T0,
~T1 ...
>
,
where T0, T1 ...
are mapped
types.
class
or struct
).
Whatever a type T
's mapper class might be, and
whoever supplies it, it is always the case that it implements the interface
abstract_mapper<
T
>
.