c++ Programming Glossary: currentnode
Stuck on a Iterator Implementation of a Trie http://stackoverflow.com/questions/351314/stuck-on-a-iterator-implementation-of-a-trie friend class Trie T public IteratorPrefixe tree NULL currentNode NULL currentKey pair string T operator return make_pair currentKey.. pair string T operator return make_pair currentKey currentNode element IteratorPrefixe operator throw runtime_error void operator.. void operator IteratorPrefixe iter tree iter.tree currentNode iter.currentNode currentKey iter.currentKey bool operator IteratorPrefixe..
good practice in c++ (lazy evaluation) http://stackoverflow.com/questions/4613551/good-practice-in-c-lazy-evaluation work or it is bad idea if Yes why Thanks in advance if currentNode 0 currentNode element return c lazy evaluation share improve.. is bad idea if Yes why Thanks in advance if currentNode 0 currentNode element return c lazy evaluation share improve this question.. no further subexpressions are evaluated. In your case if currentNode is null it will never get dereferenced by the second subexpression..
|