Template Class output_stream_adapter

Inheritance Relationships

Base Types

  • public nlohmann::detail::output_adapter_protocol< CharType >

  • public nlohmann::detail::output_adapter_protocol< CharType >

Class Documentation

template<typename CharType>
class output_stream_adapter : public nlohmann::detail::output_adapter_protocol<CharType>, public nlohmann::detail::output_adapter_protocol<CharType>

output adapter for output streams

Public Functions

inline explicit output_stream_adapter(std::basic_ostream<CharType> &s) noexcept
inline void write_character(CharType c) override
inline void write_characters(const CharType *s, std::size_t length) override
inline explicit output_stream_adapter(std::basic_ostream<CharType> &s) noexcept
inline void write_character(CharType c) override
inline void write_characters(const CharType *s, std::size_t length) override