header_utils
Loading...
Searching...
No Matches
ghassanpl::string_ops::text_encoding Struct Reference

Type that represents a specific text encoding - a combination of ghassanpl::string_ops::text_encoding_type and endianness. More...

#include <unicode.h>

Public Member Functions

constexpr auto operator<=> (text_encoding const &other) const noexcept=default
constexpr operator text_encoding_type () const noexcept

Public Attributes

text_encoding_type type
std::endian endianness

Detailed Description

Type that represents a specific text encoding - a combination of ghassanpl::string_ops::text_encoding_type and endianness.

Definition at line 55 of file unicode.h.

Member Function Documentation

◆ operator text_encoding_type()

ghassanpl::string_ops::text_encoding::operator text_encoding_type ( ) const
inlinenodiscardconstexprnoexcept

Definition at line 61 of file unicode.h.

Member Data Documentation

◆ endianness

std::endian ghassanpl::string_ops::text_encoding::endianness

Definition at line 58 of file unicode.h.

◆ type

text_encoding_type ghassanpl::string_ops::text_encoding::type

Definition at line 57 of file unicode.h.