Skip to content

Commit

Permalink
Introduce UTF Matchers into std.uni.
Browse files Browse the repository at this point in the history
It's a step zero to get decode-less std.regex.
UTF matchers are efficient functors around a set of
specific tries. Enables processing Unicode characters
without decoding at speeds on par with decoding itself.

Along the way make staticIota at 'package' protected and reuse it.

Fix a shameful typo in setSearcher.
  • Loading branch information
DmitryOlshansky committed Mar 8, 2014
1 parent e3ad98b commit 1c86ecf
Show file tree
Hide file tree
Showing 2 changed files with 782 additions and 5 deletions.
2 changes: 1 addition & 1 deletion std/typecons.d
Expand Up @@ -3536,7 +3536,7 @@ unittest
static assert(is(DerivedFunctionType!(F17, F18) == void));
}

private template staticIota(int beg, int end)
package template staticIota(int beg, int end)
{
static if (beg + 1 >= end)
{
Expand Down

0 comments on commit 1c86ecf

Please sign in to comment.