Usage:
#include "cttrie.h"
...
TRIE(str)
... error case
CASE("abc")
... str matches abc ...
CASE("ad")
... etc
ENDTRIE; // <- trailing semicolon!
- compile with optimization enabled!
- cases may return a value (see e.g. test_cttrie.cpp) -> return types must match! (deduced from error case)
=> Slides
Copyright (c) 2016 Tobias Hoffmann
License: http://opensource.org/licenses/MIT