56 return static_cast<std::string
>(std::get<container::xpod::type_index::pointer>(val));
58 return std::get<container::xpod::type_index::string>(val);
constexpr std::size_t number
Definition xpod.hpp:51
constexpr std::size_t boolean
Definition xpod.hpp:52
constexpr std::size_t pointer
Definition xpod.hpp:53
constexpr std::size_t string
Definition xpod.hpp:54
constexpr std::size_t integer
Definition xpod.hpp:50
std::variant< long long, double, bool, memory::pointer, std::string > type
A variant designed for basic data types. memory::pointer is used in place of void* to provide additio...
Definition xpod.hpp:46
Contains conversion utilities to transform data between different formats and types....
Definition buffer.hpp:35
std::string to_string(const container::buffer &b)
Creates a std::string from the contents of a container::buffer.
Definition buffer.hpp:42