14#include "../macros.hpp"
19namespace hi {
inline namespace v1 {
50#if WCHAR_MAX >= 0x10'ffff
94#if WCHAR_MAX >= 0x10'ffff
112[[nodiscard]]
constexpr std::u8string
to_u8string(std::u32string_view rhs)
noexcept
120[[nodiscard]]
constexpr std::u8string
to_u8string(std::u16string_view rhs)
noexcept
128[[nodiscard]]
constexpr std::u8string
to_u8string(std::u8string_view rhs)
noexcept
136[[nodiscard]]
constexpr std::u8string
to_u8string(std::wstring_view rhs)
noexcept
138#if WCHAR_MAX >= 0x10'ffff
148[[nodiscard]]
constexpr std::u8string
to_u8string(std::string_view rhs)
noexcept
158#if WCHAR_MAX >= 0x10'ffff
170#if WCHAR_MAX >= 0x10'ffff
182#if WCHAR_MAX >= 0x10'ffff
194#if WCHAR_MAX >= 0x10'ffff
206#if WCHAR_MAX >= 0x10'ffff
216[[nodiscard]]
constexpr std::string to_string(std::u32string_view rhs)
noexcept
224[[nodiscard]]
constexpr std::string to_string(std::u16string_view rhs)
noexcept
232[[nodiscard]]
constexpr std::string to_string(std::u8string_view rhs)
noexcept
240[[nodiscard]]
constexpr std::string to_string(std::wstring_view rhs)
noexcept
242#if WCHAR_MAX >= 0x10'ffff
252[[nodiscard]]
constexpr std::string to_string(std::string_view rhs)
noexcept
Definition of the Unicode UTF-32 encoding.
Definition of the Unicode UTF-16 encoding.
Definition of the Unicode UTF-8 encoding.
constexpr std::u16string to_u16string(std::u32string_view rhs) noexcept
Conversion from UTF-32 to UTF-16.
Definition to_string.hpp:68
constexpr std::u32string to_u32string(std::u32string_view rhs) noexcept
Identity conversion from UTF-32 to UTF-32.
Definition to_string.hpp:24
constexpr std::u8string to_u8string(std::u32string_view rhs) noexcept
Conversion from UTF-32 to UTF-8.
Definition to_string.hpp:112
constexpr std::wstring to_wstring(std::u32string_view rhs) noexcept
Conversion from UTF-32 to wide-string (UTF-16/32).
Definition to_string.hpp:156
geometry/margins.hpp
Definition lookahead_iterator.hpp:5
The HikoGUI API version 1.
Definition lookahead_iterator.hpp:6
A converter between character encodings.
Definition char_converter.hpp:95
constexpr OutRange convert(InRange &&src) const noexcept
Convert text between the given encodings.
Definition char_converter.hpp:111