44 Byte bytes_[Capacity];
50 return static_cast<void*
>(bytes_);
55 const void* place()
const
57 return static_cast<const void*
>(bytes_);
77 sizeof(Value) <= Capacity,
78 "Capacity isn't sufficient for "
79 "storing values of the given type. "
95 const Value&
get()
const
99 sizeof(Value) <= Capacity,
100 "Capacity of the storage isn't "
101 "sufficient to store values "
102 "of the specified type. "
122 sizeof(Value) <= Capacity,
123 "Capacity of the storage isn't "
124 "sufficient to store values "
125 "of the specified type. "
128 new (place()) Value(
value);
#define ONIXS_SASSERT_MSG(expression, message)
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
#define ONIXS_CONFLATEDUDPFIX_NAMESPACE_BEGIN
#define ONIXS_CONFLATEDUDPFIX_NAMESPACE_END
Container for a value of any supported kinds.
ValueContainer()
Initializes the container.
ValueContainer & assign(const Value &value)
Stores the given value in the container.
const Value & get() const
bool value(Number &number, const MultiContainer &container, Tag tag)
UInt8 Byte
Alias for Byte.