class to_utf8

Declaration

template <typename WChar, typename Buffer = fmt::memory_buffer>
class to_utf8 { /* full declaration omitted */ };

Declared at: third_party/fmt/include/fmt/format.h:1418

Templates

WChar
Buffer

Method Overview

  • public const char * c_str() const
  • public bool convert(basic_string_view<WChar> s, fmt::detail::to_utf8_error_policy policy = to_utf8_error_policy::abort)
  • public static bool convert(Buffer & buf, basic_string_view<WChar> s, fmt::detail::to_utf8_error_policy policy = to_utf8_error_policy::abort)
  • public fmt::string_view operator basic_string_view() const
  • public size_t size() const
  • public std::string str() const
  • public to_utf8<WChar, Buffer>()
  • public to_utf8<WChar, Buffer>(basic_string_view<WChar> s, fmt::detail::to_utf8_error_policy policy = to_utf8_error_policy::abort)

Methods

const char* c_str() const

Declared at: third_party/fmt/include/fmt/format.h:1434

bool convert(
    basic_string_view<WChar> s,
    fmt::detail::to_utf8_error_policy policy =
        to_utf8_error_policy::abort)

Declared at: third_party/fmt/include/fmt/format.h:1440

Parameters

basic_string_view<WChar> s
fmt::detail::to_utf8_error_policy policy = to_utf8_error_policy::abort

static bool convert(
    Buffer& buf,
    basic_string_view<WChar> s,
    fmt::detail::to_utf8_error_policy policy =
        to_utf8_error_policy::abort)

Declared at: third_party/fmt/include/fmt/format.h:1446

Parameters

Buffer& buf
basic_string_view<WChar> s
fmt::detail::to_utf8_error_policy policy = to_utf8_error_policy::abort

fmt::string_view operator basic_string_view()
    const

Declared at: third_party/fmt/include/fmt/format.h:1432

size_t size() const

Declared at: third_party/fmt/include/fmt/format.h:1433

std::string str() const

Declared at: third_party/fmt/include/fmt/format.h:1435

to_utf8<WChar, Buffer>()

Declared at: third_party/fmt/include/fmt/format.h:1423

to_utf8<WChar, Buffer>(
    basic_string_view<WChar> s,
    fmt::detail::to_utf8_error_policy policy =
        to_utf8_error_policy::abort)

Declared at: third_party/fmt/include/fmt/format.h:1424

Parameters

basic_string_view<WChar> s
fmt::detail::to_utf8_error_policy policy = to_utf8_error_policy::abort