Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::text_encoding::aliases

Returns a non-empty range of type text_encoding::aliases_view containing the aliases of *this if it represents a known registered character encoding.

NotebookLM
constexpr aliases_view aliases() const noexcept;
(since C++26)

Returns a non-empty range of type text_encoding::aliases_view containing the aliases of *this if it represents a known registered character encoding. Otherwise, returns an empty range of type text_encoding::aliases_view.

Parameters

(none)

Return value

A view containing aliases of the known registered character encoding represented by *this; otherwise an empty range.

Example

This section is incomplete
Reason: no example

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.