The OpenD Programming Language

codepointTrie

A slightly more general tool for building fixed Trie for the Unicode data.

Specifically unlike codepointSetTrie it's allows creating mappings of dchar to an arbitrary type T.

Note: Overload taking CodepointSets will naturally convert only to bool mapping Tries.

CodepointTrie is the type of Trie as generated by codepointTrie function.

Members

Functions

codepointTrie
auto codepointTrie(T[dchar] map, T defValue)
codepointTrie
auto codepointTrie(R range, T defValue)

Meta