diff options
Diffstat (limited to 'include/unicode/predicate.h')
-rw-r--r-- | include/unicode/predicate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/unicode/predicate.h b/include/unicode/predicate.h index e326529..82031d1 100644 --- a/include/unicode/predicate.h +++ b/include/unicode/predicate.h @@ -6,6 +6,12 @@ namespace unicode { + // Detection of a valid Unicode code point value. Independent of encoding. + // + // Note: This doesn't tell if the specified value is actually allocated in an + // existing Unicode version, but rather just detects if the value is inside + // allocatable range. + // // bits_to_compare: limit bits to consider even further than defined by T // T: usually, char32_t, uint32_t etc. template<size_t bits_to_compare = 32, typename T> |