cwidget  0.5.16
Public Types | Static Public Member Functions
std::TRAITS_CLASS< chtype > Struct Template Reference

Based on libstdc++-3's instantiation of this for characters. More...

#include <curses++.h>

List of all members.

Public Types

typedef chtype char_type

Static Public Member Functions

static void assign (char_type &c1, const char_type &c2)
static bool eq (const char_type &c1, const char_type &c2)
static bool ne (const char_type &c1, const char_type &c2)
static bool lt (const char_type &c1, const char_type &c2)
static char_type eos ()
static bool is_del (char_type a)
static int compare (const char_type *s1, const char_type *s2, size_t n)
static size_t length (const char_type *s)
static char_type * copy (char_type *s1, const char_type *s2, size_t n)
static char_type * move (char_type *s1, const char_type *s2, size_t n)
static char_type * assign (char_type *s1, size_t n, const char_type &c)

Detailed Description

template<>
struct std::TRAITS_CLASS< chtype >

Based on libstdc++-3's instantiation of this for characters.

This could do something clever, such as changing comparisons to only apply to the text itself, but it doesn't; I'm not sure what the effect of changes like that would be.

The int_type stuff is not implemented; it could perhaps be implemented later if it's needed.


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