Public Types | Static Public Member Functions | List of all members
lexy::utf16_encoding Struct Reference

An encoding where the input is assumed to be valid UTF-16. More...

#include <encoding.hpp>

Public Types

using char_type = char16_t
 
using int_type = std::int_least32_t
 

Static Public Member Functions

static LEXY_CONSTEVAL int_type eof ()
 
template<typename OtherCharType >
static constexpr bool is_secondary_char_type ()
 
static constexpr int_type to_int_type (char_type c)
 

Detailed Description

An encoding where the input is assumed to be valid UTF-16.

Definition at line 132 of file encoding.hpp.

Member Typedef Documentation

◆ char_type

Definition at line 134 of file encoding.hpp.

◆ int_type

using lexy::utf16_encoding::int_type = std::int_least32_t

Definition at line 135 of file encoding.hpp.

Member Function Documentation

◆ eof()

static LEXY_CONSTEVAL int_type lexy::utf16_encoding::eof ( )
inlinestatic

Definition at line 143 of file encoding.hpp.

◆ is_secondary_char_type()

template<typename OtherCharType >
static constexpr bool lexy::utf16_encoding::is_secondary_char_type ( )
inlinestaticconstexpr

Definition at line 138 of file encoding.hpp.

◆ to_int_type()

static constexpr int_type lexy::utf16_encoding::to_int_type ( char_type  c)
inlinestaticconstexpr

Definition at line 149 of file encoding.hpp.


The documentation for this struct was generated from the following file:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09