Skip to content

# nlohmann::byte_container_with_subtype::clear_subtype

    void clear_subtype() noexcept;

Clears the binary subtype and flags the value as not having a subtype, which has implications for serialization; for instance MessagePack will prefer the bin family over the ext family.

## Exception safety

No-throw guarantee: this function never throws exceptions.

## Complexity

Constant.

## Version history

Since version 3.8.0.

Back to top