Template Struct output_adapter_protocol

Inheritance Relationships

Derived Types

Struct Documentation

template<typename CharType>
struct output_adapter_protocol

abstract output adapter interface

Subclassed by nlohmann::detail::output_stream_adapter< CharType >, nlohmann::detail::output_string_adapter< CharType, StringType >, nlohmann::detail::output_vector_adapter< CharType >

Public Functions

virtual void write_character(CharType c) = 0
virtual void write_characters(const CharType *s, std::size_t length) = 0
virtual ~output_adapter_protocol() = default