66 static constexpr std::array<std::uint8_t, 8> order = {{
72 const auto l_index =
static_cast<std::size_t
>(lhs);
73 const auto r_index =
static_cast<std::size_t
>(rhs);
74 return l_index < order.size() and r_index < order.size() and order[l_index] < order[r_index];
zip_uint8_t uint8_t
zip_uint8_t typedef.
Definition: zip.hpp:78
bool operator<(const value_t lhs, const value_t rhs) noexcept
comparison operator for JSON types
Definition: value_t.hpp:64
value_t
the JSON type enumeration
Definition: value_t.hpp:42
@ number_integer
number value (signed integer)
@ discarded
discarded by the the parser callback function
@ object
object (unordered set of name/value pairs)
@ number_float
number value (floating-point)
@ number_unsigned
number value (unsigned integer)
@ array
array (ordered collection of values)
namespace for Niels Lohmann
Definition: adl_serializer.hpp:9