🚨 fix warnings
This commit is contained in:
parent
6bfcea39d0
commit
8dc3ed11e7
@ -1420,8 +1420,7 @@ class basic_json
|
||||
- @a CompatibleType is not a different @ref basic_json type (i.e. with different template arguments)
|
||||
- @a CompatibleType is not a @ref basic_json nested type (e.g.,
|
||||
@ref json_pointer, @ref iterator, etc ...)
|
||||
- @ref @ref json_serializer<U> has a
|
||||
`to_json(basic_json_t&, CompatibleType&&)` method
|
||||
- `json_serializer<U>` has a `to_json(basic_json_t&, CompatibleType&&)` method
|
||||
|
||||
@tparam U = `uncvref_t<CompatibleType>`
|
||||
|
||||
@ -6049,7 +6048,7 @@ class basic_json
|
||||
}
|
||||
}
|
||||
|
||||
/// @copydoc swap(binary_t)
|
||||
/// @copydoc swap(binary_t&)
|
||||
void swap(typename binary_t::container_type& other)
|
||||
{
|
||||
// swap only works for strings
|
||||
@ -7060,7 +7059,7 @@ class basic_json
|
||||
vector in CBOR format.,to_cbor}
|
||||
|
||||
@sa http://cbor.io
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
analogous deserialization
|
||||
@sa see @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
@sa see @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
@ -7260,7 +7259,7 @@ class basic_json
|
||||
vector in UBJSON format.,to_ubjson}
|
||||
|
||||
@sa http://ubjson.org
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(InputType&&, const bool, const bool) for the
|
||||
analogous deserialization
|
||||
@sa see @ref to_cbor(const basic_json& for the related CBOR format
|
||||
@sa see @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
@ -7466,9 +7465,9 @@ class basic_json
|
||||
|
||||
@sa http://cbor.io
|
||||
@sa see @ref to_cbor(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_msgpack(InputType&&, const bool, const bool) for the
|
||||
related MessagePack format
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(InputType&&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
|
||||
@since version 2.0.9; parameter @a start_index since 2.1.1; changed to
|
||||
@ -7491,7 +7490,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/*!
|
||||
@copydoc from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t)
|
||||
@copydoc from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t)
|
||||
*/
|
||||
template<typename IteratorType>
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
@ -7607,11 +7606,11 @@ class basic_json
|
||||
|
||||
@sa http://msgpack.org
|
||||
@sa see @ref to_msgpack(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_ubjson(InputType&&, const bool, const bool) for
|
||||
the related UBJSON format
|
||||
@sa see @ref from_bson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_bson(InputType&&, const bool, const bool) for
|
||||
the related BSON format
|
||||
|
||||
@since version 2.0.9; parameter @a start_index since 2.1.1; changed to
|
||||
@ -7633,7 +7632,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/*!
|
||||
@copydoc from_msgpack(detail::input_adapter&&, const bool, const bool)
|
||||
@copydoc from_msgpack(InputType&&, const bool, const bool)
|
||||
*/
|
||||
template<typename IteratorType>
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
@ -7726,11 +7725,11 @@ class basic_json
|
||||
@sa http://ubjson.org
|
||||
@sa see @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
analogous serialization
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_msgpack(InputType&&, const bool, const bool) for
|
||||
the related MessagePack format
|
||||
@sa see @ref from_bson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_bson(InputType&&, const bool, const bool) for
|
||||
the related BSON format
|
||||
|
||||
@since version 3.1.0; added @a allow_exceptions parameter since 3.2.0
|
||||
@ -7749,7 +7748,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/*!
|
||||
@copydoc from_ubjson(detail::input_adapter&&, const bool, const bool)
|
||||
@copydoc from_ubjson(InputType&&, const bool, const bool)
|
||||
*/
|
||||
template<typename IteratorType>
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
@ -7841,11 +7840,11 @@ class basic_json
|
||||
|
||||
@sa http://bsonspec.org/spec.html
|
||||
@sa see @ref to_bson(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_msgpack(InputType&&, const bool, const bool) for
|
||||
the related MessagePack format
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(InputType&&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
*/
|
||||
template<typename InputType>
|
||||
@ -7862,7 +7861,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/*!
|
||||
@copydoc from_bson(detail::input_adapter&&, const bool, const bool)
|
||||
@copydoc from_bson(InputType&&, const bool, const bool)
|
||||
*/
|
||||
template<typename IteratorType>
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
|
||||
@ -18042,8 +18042,7 @@ class basic_json
|
||||
- @a CompatibleType is not a different @ref basic_json type (i.e. with different template arguments)
|
||||
- @a CompatibleType is not a @ref basic_json nested type (e.g.,
|
||||
@ref json_pointer, @ref iterator, etc ...)
|
||||
- @ref @ref json_serializer<U> has a
|
||||
`to_json(basic_json_t&, CompatibleType&&)` method
|
||||
- `json_serializer<U>` has a `to_json(basic_json_t&, CompatibleType&&)` method
|
||||
|
||||
@tparam U = `uncvref_t<CompatibleType>`
|
||||
|
||||
@ -22671,7 +22670,7 @@ class basic_json
|
||||
}
|
||||
}
|
||||
|
||||
/// @copydoc swap(binary_t)
|
||||
/// @copydoc swap(binary_t&)
|
||||
void swap(typename binary_t::container_type& other)
|
||||
{
|
||||
// swap only works for strings
|
||||
@ -23682,7 +23681,7 @@ class basic_json
|
||||
vector in CBOR format.,to_cbor}
|
||||
|
||||
@sa http://cbor.io
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
analogous deserialization
|
||||
@sa see @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
@sa see @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
@ -23882,7 +23881,7 @@ class basic_json
|
||||
vector in UBJSON format.,to_ubjson}
|
||||
|
||||
@sa http://ubjson.org
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(InputType&&, const bool, const bool) for the
|
||||
analogous deserialization
|
||||
@sa see @ref to_cbor(const basic_json& for the related CBOR format
|
||||
@sa see @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
@ -24088,9 +24087,9 @@ class basic_json
|
||||
|
||||
@sa http://cbor.io
|
||||
@sa see @ref to_cbor(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_msgpack(InputType&&, const bool, const bool) for the
|
||||
related MessagePack format
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(InputType&&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
|
||||
@since version 2.0.9; parameter @a start_index since 2.1.1; changed to
|
||||
@ -24113,7 +24112,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/*!
|
||||
@copydoc from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t)
|
||||
@copydoc from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t)
|
||||
*/
|
||||
template<typename IteratorType>
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
@ -24229,11 +24228,11 @@ class basic_json
|
||||
|
||||
@sa http://msgpack.org
|
||||
@sa see @ref to_msgpack(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_ubjson(InputType&&, const bool, const bool) for
|
||||
the related UBJSON format
|
||||
@sa see @ref from_bson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_bson(InputType&&, const bool, const bool) for
|
||||
the related BSON format
|
||||
|
||||
@since version 2.0.9; parameter @a start_index since 2.1.1; changed to
|
||||
@ -24255,7 +24254,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/*!
|
||||
@copydoc from_msgpack(detail::input_adapter&&, const bool, const bool)
|
||||
@copydoc from_msgpack(InputType&&, const bool, const bool)
|
||||
*/
|
||||
template<typename IteratorType>
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
@ -24348,11 +24347,11 @@ class basic_json
|
||||
@sa http://ubjson.org
|
||||
@sa see @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
analogous serialization
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_msgpack(InputType&&, const bool, const bool) for
|
||||
the related MessagePack format
|
||||
@sa see @ref from_bson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_bson(InputType&&, const bool, const bool) for
|
||||
the related BSON format
|
||||
|
||||
@since version 3.1.0; added @a allow_exceptions parameter since 3.2.0
|
||||
@ -24371,7 +24370,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/*!
|
||||
@copydoc from_ubjson(detail::input_adapter&&, const bool, const bool)
|
||||
@copydoc from_ubjson(InputType&&, const bool, const bool)
|
||||
*/
|
||||
template<typename IteratorType>
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
@ -24463,11 +24462,11 @@ class basic_json
|
||||
|
||||
@sa http://bsonspec.org/spec.html
|
||||
@sa see @ref to_bson(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(InputType&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_msgpack(InputType&&, const bool, const bool) for
|
||||
the related MessagePack format
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(InputType&&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
*/
|
||||
template<typename InputType>
|
||||
@ -24484,7 +24483,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/*!
|
||||
@copydoc from_bson(detail::input_adapter&&, const bool, const bool)
|
||||
@copydoc from_bson(InputType&&, const bool, const bool)
|
||||
*/
|
||||
template<typename IteratorType>
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user