1#ifndef _C4_YML_WRITER_OSTREAM_HPP_
2#define _C4_YML_WRITER_OSTREAM_HPP_
6#ifndef _C4_YML_ERROR_HPP_
18template<
class OStream>
26 C4_ALWAYS_INLINE
void append(
const char (&a)[N])
noexcept
28 static_assert(N > 1,
"empty string");
36 C4_SUPPRESS_WARNING_GCC_CLANG_WITH_PUSH(
"-Wsign-conversion")
38 C4_SUPPRESS_WARNING_GCC_CLANG_POP
42 C4_ALWAYS_INLINE
void append(
const char c)
noexcept
47 C4_ALWAYS_INLINE
void append(
const char c,
size_t num_times)
noexcept
49 for(
size_t i = 0; i < num_times; ++i)
Error utilities used by ryml.
basic_substring< const char > csubstr
an immutable string view
(Undefined by default) Use shorter error message from checks/asserts: do not show the check condition...
void append(const char c, size_t num_times) noexcept
void append(csubstr s) noexcept
void append(const char(&a)[N]) noexcept
void append(const char c) noexcept
WriterOStream(OStream *s) noexcept