9 Apr
2015
9 Apr
'15
9:22 p.m.
On 9 April 2015 at 09:51, Antony Polukhin
2015-04-08 23:06 GMT+03:00 Cosmin Boaca
: I still can not see problem here: operator ++() : *increment* the iterator and *compare* with end() operator -- () : *compare* with begin() and if it is not on begin(), then *decrement*. Otherwise go to parent
Let's take a look into different cases: we are at the begin() + 1: in that case we'll get begin() and user will work with begin() we are at the begin() : in that case we detect that we are at the begin() and just go to parent
Hello, You were right. It worked. I have removed pred/next_node fields from trie_node class [0]. What would you suggest to do next ? [0] https://github.com/cosminBoaca/boost.trie Thank you, Cosmin