std::text_encoding::environment_is
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::environment_is
template< id I >
static bool environment_is();
(since C++26)
static bool environment_is();
Checks whether the environment encoding is equal to the encoding whose MIBenum value is the specified value I. A call to this function is equivalent to return environment() == I;.
This function is deleted unless the CHAR_BIT is 8.
[edit] Template parameters
I
-
a
text_encoding::id
whose value to compare
[edit] Return value
true if environment() is equal to I; false otherwise.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example