summaryrefslogtreecommitdiffhomepage
path: root/include/unicode/predicate.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-01-03 15:15:09 +0100
committerRoland Reichwein <mail@reichwein.it>2022-01-03 15:15:09 +0100
commitec9c8e682d615cd2b51ea0fec05273ed4dcad50a (patch)
treeb42c3bc2cfd2b79e89e846b9b4f18ea4efb23d2f /include/unicode/predicate.h
parent92a6e4270e752acc01b0823713919b2446ec7753 (diff)
Documentation
Diffstat (limited to 'include/unicode/predicate.h')
-rw-r--r--include/unicode/predicate.h6
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>