46 using type = std::variant<long long, double, bool, memory::pointer, std::string>;
52 constexpr std::size_t
boolean{2};
54 constexpr std::size_t
string{4};
68 std::visit([&os](
auto&& arg)
Defines index constants for the xpod::type variant (e.g., integer, number, boolean,...
Definition xpod.hpp:49
constexpr std::size_t number
Definition xpod.hpp:51
constexpr std::size_t pointer
Definition xpod.hpp:53
constexpr std::size_t integer
Definition xpod.hpp:50
Provides a specialized variant type (xpod::type) for simple data exchange, supporting integer,...
Definition xpod.hpp:37
std::ostream & operator<<(std::ostream &os, const xpod::type &v)
Overload of the insertion operator to output the contents of an xpod::type.
Definition xpod.hpp:66
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