std::text_encoding::name
From cppreference.com
< cpp | text | text encoding
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Text processing library
Regular expressions library (C++11)
Formatting library (C++20)
(C++17)
(C++17)
(C++17)
(C++17)
(C++17)
(C++26)
std::text_encoding
text_encoding::name
constexpr const char* name() const noexcept;
(since C++26)
Returns the primary name of *this. Equivalent to return name_ ;.
Accessing elements of name_ outside of the range [name(), name() + std::strlen (name()) + 1) is undefined behavior.
[edit] Parameters
(none)
[edit] Return value
Primary name name_ that is represented by a null-terminated byte string.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example