std::text_encoding::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;.

# Declarations

template< id I >
static bool environment_is();

(since C++26)

# Return value

true if environment() is equal to I; false otherwise.

# Example

This section is incompleteReason: no example