Template Class output_string_adapter

Inheritance Relationships

Base Types

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

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

Class Documentation

template<typename CharType, typename StringType = std::basic_string<CharType>>
class output_string_adapter : public nlohmann::detail::output_adapter_protocol<CharType>, public nlohmann::detail::output_adapter_protocol<CharType>

output adapter for basic_string

Public Functions

inline explicit output_string_adapter(StringType &s) noexcept
inline void write_character(CharType c) override
inline void write_characters(const CharType *s, std::size_t length) override
inline explicit output_string_adapter(StringType &s) noexcept
inline void write_character(CharType c) override
inline void write_characters(const CharType *s, std::size_t length) override