@@ -5875,7 +5875,7 @@ auto input_adapter(T (&array)[N]) -> decltype(input_adapter(array, array + N)) /
5875
5875
}
5876
5876
5877
5877
// This class only handles inputs of input_buffer_adapter type.
5878
- // It's required so that expressions like {ptr, len} can be implicitely casted
5878
+ // It's required so that expressions like {ptr, len} can be implicitly casted
5879
5879
// to the correct adapter.
5880
5880
class span_input_adapter
5881
5881
{
@@ -8430,7 +8430,7 @@ enum class cbor_tag_handler_t
8430
8430
8431
8431
@note from https://stackoverflow.com/a/1001328/266378
8432
8432
*/
8433
- static inline bool little_endianess (int num = 1) noexcept
8433
+ static inline bool little_endianness (int num = 1) noexcept
8434
8434
{
8435
8435
return *reinterpret_cast<char*>(&num) == 1;
8436
8436
}
@@ -10729,7 +10729,7 @@ class binary_reader
10729
10729
10730
10730
@return whether conversion completed
10731
10731
10732
- @note This function needs to respect the system's endianess , because
10732
+ @note This function needs to respect the system's endianness , because
10733
10733
bytes in CBOR, MessagePack, and UBJSON are stored in network order
10734
10734
(big endian) and therefore need reordering on little endian systems.
10735
10735
*/
@@ -10902,8 +10902,8 @@ class binary_reader
10902
10902
/// the number of characters read
10903
10903
std::size_t chars_read = 0;
10904
10904
10905
- /// whether we can assume little endianess
10906
- const bool is_little_endian = little_endianess ();
10905
+ /// whether we can assume little endianness
10906
+ const bool is_little_endian = little_endianness ();
10907
10907
10908
10908
/// the SAX parser
10909
10909
json_sax_t* sax = nullptr;
@@ -15202,7 +15202,7 @@ class binary_writer
15202
15202
@tparam OutputIsLittleEndian Set to true if output data is
15203
15203
required to be little endian
15204
15204
15205
- @note This function needs to respect the system's endianess , because bytes
15205
+ @note This function needs to respect the system's endianness , because bytes
15206
15206
in CBOR, MessagePack, and UBJSON are stored in network order (big
15207
15207
endian) and therefore need reordering on little endian systems.
15208
15208
*/
@@ -15292,8 +15292,8 @@ class binary_writer
15292
15292
}
15293
15293
15294
15294
private:
15295
- /// whether we can assume little endianess
15296
- const bool is_little_endian = little_endianess ();
15295
+ /// whether we can assume little endianness
15296
+ const bool is_little_endian = little_endianness ();
15297
15297
15298
15298
/// the output
15299
15299
output_adapter_t<CharType> oa = nullptr;
@@ -18409,7 +18409,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
18409
18409
- If a subtype is given and the binary array contains exactly 1, 2, 4, 8,
18410
18410
or 16 elements, the fixext family (fixext1, fixext2, fixext4, fixext8)
18411
18411
is used. For other sizes, the ext family (ext8, ext16, ext32) is used.
18412
- The subtype is then added as singed 8-bit integer.
18412
+ The subtype is then added as signed 8-bit integer.
18413
18413
- If no subtype is given, the bin family (bin8, bin16, bin32) is used.
18414
18414
- BSON
18415
18415
- If a subtype is given, it is used and added as unsigned 8-bit integer.
@@ -22522,7 +22522,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
22522
22522
`key()` returns an empty string.
22523
22523
22524
22524
@warning Using `items()` on temporary objects is dangerous. Make sure the
22525
- object's lifetime exeeds the iteration. See
22525
+ object's lifetime exceeds the iteration. See
22526
22526
<https://github.com/nlohmann/json/issues/2040> for more
22527
22527
information.
22528
22528
0 commit comments