Protocol++® (Protocolpp®)  v5.6.2
option::PrintUsageImplementation Struct Reference

Classes

struct  FunctionWriter
 
struct  IStringWriter
 
class  LinePartIterator
 
class  LineWrapper
 
struct  OStreamWriter
 
struct  StreamWriter
 
struct  SyscallWriter
 
struct  TemporaryWriter
 

Static Public Member Functions

static void upmax (int &i1, int i2)
 
static void indent (IStringWriter &write, int &x, int want_x)
 
static bool isWideChar (unsigned ch)
 Returns true if ch is the unicode code point of a wide character. More...
 
static void printUsage (IStringWriter &write, const Descriptor usage[], int width=80, int last_column_min_percent=50, int last_column_own_line_max_percent=75)
 

Member Function Documentation

◆ isWideChar()

static bool option::PrintUsageImplementation::isWideChar ( unsigned  ch)
inlinestatic

Returns true if ch is the unicode code point of a wide character.

Note
The following character ranges are treated as wide
1100..115F
2329..232A (just 2 characters!)
2E80..A4C6 except for 303F
A960..A97C
AC00..D7FB
F900..FAFF
FE10..FE6B
FF01..FF60
FFE0..FFE6
1B000......

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