CommonLib
Loading...
Searching...
No Matches
encoding_expr.h File Reference
#include <type_traits>
#include "ut/encoding_type.h"
#include "string_expr.h"
#include "encoding_expr.inl"

Go to the source code of this file.

Classes

struct  hedgedev::csl::ut::expr::get_encoding_char_type< encoding >
struct  hedgedev::csl::ut::expr::get_encoding_char_type< encoding::utf8 >
struct  hedgedev::csl::ut::expr::get_encoding_char_type< encoding::utf16_le >
struct  hedgedev::csl::ut::expr::get_encoding_char_type< encoding::utf16_be >
struct  hedgedev::csl::ut::expr::get_encoding_char_type< encoding::utf32_le >
struct  hedgedev::csl::ut::expr::get_encoding_char_type< encoding::utf32_be >

Namespaces

namespace  hedgedev
namespace  hedgedev::csl
namespace  hedgedev::csl::ut
namespace  hedgedev::csl::ut::expr

Typedefs

template<encoding::encoding_type encoding>
using hedgedev::csl::ut::expr::get_encoding_char_type_t = typename get_encoding_char_type<encoding>::type
template<encoding::encoding_type encoding>
using hedgedev::csl::ut::expr::encoded_string_t = std::basic_string<get_encoding_char_type_t<encoding>>
template<encoding::encoding_type encoding>
using hedgedev::csl::ut::expr::encoded_string_view_t = std::basic_string_view<get_encoding_char_type_t<encoding>>

Functions

template<any_string T>
constexpr encoding::encoding_type hedgedev::csl::ut::expr::get_char_encoding_type ()
constexpr encoding::encoding_type hedgedev::csl::ut::expr::get_native_encoding_type (encoding::encoding_type in_encoding)
constexpr size_t hedgedev::csl::ut::expr::get_encoding_char_size (encoding::encoding_type in_encoding)
template<any_string T>
constexpr bool hedgedev::csl::ut::expr::is_char_encoding_type (encoding::encoding_type in_encoding)

Variables

template<any_string T, encoding::encoding_type encoding>
constexpr bool hedgedev::csl::ut::expr::is_char_encoding_type_v = is_char_encoding_type<T>(encoding)