#include <astl.h> #include <dfa.h> #include <cursor.h> #include <hash.h> #include <iostream> #include <cassert> int main() { DFA_matrix<plain, hash_tag> A; make_hash(A); const char *word = ``word''; std::cout << hash_value(forwardc(A), word, word + 4) << std::endl; }