View source code
Display the source code in std/uni.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

std.uni.CodepointTrie/codepointTrie - multiple declarations

Template codepointTrie

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

template codepointTrie(T, sizes...) ;

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

Contained Functions

NameDescription
codepointTrie
codepointTrie
codepointTrie

Note

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

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

Alias CodepointTrie

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

alias CodepointTrie(T, sizes...) = typeof(TrieBuilder!(T,dchar,lastDchar+1,Prefix)(T.init).build());

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.

Authors

Dmitry Olshansky

License

Boost License 1.0.