nlohmann::byte_container_with_subtype

an internal type for a backed binary type

Synopsis

Declared in <nlohmann/byte_container_with_subtype.hpp>

template<typename BinaryType>
class byte_container_with_subtype
    : public BinaryType

Base Classes

NameDescription
BinaryType

Type Aliases

NameDescription
container_type the type of the underlying container storing the binary data
subtype_type the type used to store the binary subtype

Member Functions

NameDescription
byte_container_with_subtype [constructor]creates an empty binary value with no subtype
byte_container_with_subtype [constructor]creates a binary value with no subtype from a copy of the underlying container
byte_container_with_subtype [constructor]creates a binary value with no subtype by moving from the underlying container
byte_container_with_subtype [constructor]creates a binary value with the given subtype from a copy of the underlying container
byte_container_with_subtype [constructor]creates a binary value with the given subtype by moving from the underlying container
clear_subtype clears the binary subtype
has_subtype return whether the value has a subtype
set_subtype sets the binary subtype
subtype return the binary subtype
operator== compares this value to rhs for equality, including the subtype
operator!= compares this value to rhs for inequality, including the subtype