mirror of
https://github.com/nlohmann/json.git
synced 2026-04-08 00:58:55 +00:00
@@ -18,7 +18,7 @@ order to override the binary type.
|
||||
@tparam BinaryType container to store bytes (`std::vector<std::uint8_t>` by
|
||||
default)
|
||||
|
||||
@since version 3.8.0; changed type of subtypes to std::uint64_t in 3.9.2.
|
||||
@since version 3.8.0; changed type of subtypes to std::uint64_t in 3.10.0.
|
||||
*/
|
||||
template<typename BinaryType>
|
||||
class byte_container_with_subtype : public BinaryType
|
||||
@@ -108,7 +108,7 @@ class byte_container_with_subtype : public BinaryType
|
||||
subtype
|
||||
|
||||
@since version 3.8.0; fixed return value to properly return
|
||||
subtype_type(-1) as documented in version 3.9.2
|
||||
subtype_type(-1) as documented in version 3.10.0
|
||||
*/
|
||||
constexpr subtype_type subtype() const noexcept
|
||||
{
|
||||
|
||||
@@ -38,8 +38,9 @@
|
||||
|
||||
// disable documentation warnings on clang
|
||||
#if defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdocumentation"
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdocumentation"
|
||||
#pragma clang diagnostic ignored "-Wdocumentation-unknown-command"
|
||||
#endif
|
||||
|
||||
// allow to disable exceptions
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
// restore GCC/clang diagnostic settings
|
||||
// restore clang diagnostic settings
|
||||
#if defined(__clang__)
|
||||
#pragma GCC diagnostic pop
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
// clean up
|
||||
|
||||
Reference in New Issue
Block a user