Spec-Zone.ru › C++

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

Parameters

(none)

Return value

Primary name name_ that is represented by a null-terminated byte string.

Example

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

Spec-Zone.ru

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