next up previous contents
Next: Definition Up: Cursors Previous: Description   Contents

Example

DFA_matrix<> A;
const char *w = "word";
tree_build(A, w, w + 4);
cursor<DFA_matrix<> > c(A);
for(c = A.initial(); *w && c.forward(*w); ++w);
assert (*w == 0 && c.src_final());


Vincent Le Maout 2003-07-08