HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions
std::char_traits< hi::character > Class Reference

#include <hikogui/text/text.hpp>

Public Types

using char_type = hi::character
 
using int_type = int64_t
 
using off_type = size_t
 
using pos_type = size_t
 

Static Public Member Functions

static constexpr void assign (char_type &r, char_type const &a) noexcept
 
static constexpr char_typeassign (char_type *p, size_t count, char_type a) noexcept
 
static constexpr bool eq (char_type a, char_type b) noexcept
 
static constexpr bool lt (char_type a, char_type b) noexcept
 
static constexpr char_typemove (char_type *dest, const char_type *src, std::size_t count) noexcept
 
static constexpr char_typecopy (char_type *dest, const char_type *src, std::size_t count) noexcept
 
static constexpr int compare (const char_type *s1, const char_type *s2, std::size_t count) noexcept
 
static constexpr std::size_t length (const char_type *s) noexcept
 
static constexpr const char_typefind (const char_type *p, std::size_t count, const char_type &ch) noexcept
 
static constexpr char_type to_char_type (int_type c) noexcept
 
static constexpr int_type to_int_type (char_type c) noexcept
 
static constexpr bool eq_int_type (int_type c1, int_type c2) noexcept
 
static constexpr int_type eof () noexcept
 
static constexpr int_type not_eof (int_type e) noexcept
 

Detailed Description

Character-traits for hi::character.

These character traits allow std::basic_string and std::basic_string_view to work with characters to form hi::text and hi::text_view.


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