Ignore:
Timestamp:
Jan 26, 2017, 10:06:16 AM (2 years ago)
Author:
cameron
Message:

Alphabet class: initial check-in

Location:
icGREP/icgrep-devel/icgrep/UCD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/unicode_set.cpp

    r5267 r5278  
    2929using run_t = UnicodeSet::run_t;
    3030using interval_t = UnicodeSet::interval_t;
    31 using codepoint_t = UnicodeSet::codepoint_t;
    3231
    3332//
  • icGREP/icgrep-devel/icgrep/UCD/unicode_set.h

    r5240 r5278  
    3636namespace UCD {
    3737
     38typedef unsigned codepoint_t;
     39enum : codepoint_t { UNICODE_MAX = 0x10FFFF };
     40
    3841enum run_type_t : uint16_t {Empty, Mixed, Full};
    3942
     
    4649    using quad_iterator_return_t = std::pair<run_t, bitquad_t>;
    4750
    48     using codepoint_t = unsigned;
    4951    using interval_t = std::pair<codepoint_t, codepoint_t>;
    5052
     
    197199};
    198200
    199 enum : UnicodeSet::codepoint_t { UNICODE_MAX = 0x10FFFF };
    200201
    201202inline void UnicodeSet::swap(UnicodeSet & other) {
Note: See TracChangeset for help on using the changeset viewer.