Files amalgamated
This commit is contained in:
parent
21dcd4bd39
commit
f804030d07
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,3 +22,4 @@ benchmarks/files/numbers/*.json
|
|||||||
cmake-build-debug
|
cmake-build-debug
|
||||||
|
|
||||||
test/test-*
|
test/test-*
|
||||||
|
/.vs
|
||||||
|
|||||||
@ -1181,9 +1181,9 @@ Returns an ordering that is similar to Python:
|
|||||||
*/
|
*/
|
||||||
inline bool operator<(const value_t lhs, const value_t rhs) noexcept
|
inline bool operator<(const value_t lhs, const value_t rhs) noexcept
|
||||||
{
|
{
|
||||||
static constexpr std::array<std::uint8_t, 8> order = {{
|
static constexpr std::array<std::uint8_t, 8> order = { {
|
||||||
0 /* null */, 3 /* object */, 4 /* array */, 5 /* string */,
|
0 /* null */, 1 /* object */, 2 /* array */, 3 /* string */,
|
||||||
1 /* boolean */, 2 /* integer */, 2 /* unsigned */, 2 /* float */
|
4 /* boolean */, 5 /* integer */, 6 /* unsigned */, 7 /* float */
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user