# std::text_encoding::aliases

> C++ Atlas: `cppatlas.com/w/cpp/text/text_encoding/aliases` | Source: https://en.cppreference.com/w/cpp/text/text_encoding/aliases | Domain: Text processing | Standards: 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.

## Official Specification Summary (cppreference)

```cpp
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

> Note: This section is incomplete Reason: no example

---
Attribution: content from https://en.cppreference.com/w/cpp/text/text_encoding/aliases (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.