Spec-Zone.ru › C++

std::text_encoding::environment_is

template< id I >
static bool environment_is();
(since C++26)

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.

Template parameters

I - a text_encoding::id whose value to compare

Return value

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

Example

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/text/text_encoding/environment_is

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API