If an iterator is a pointer, then why can't I assign an 'int' (NULL) to it?
This works fine in debug, but fils to compile with Release configuration ..:
bool myParser::spellCheck(TokenList tokenList) {
TokenIterator tokenIterator = tokenList.begin();
TokenIterator lastSignificantToken = NULL; // <- complier to barfs here
....
Notes:
TokenIterator is typedefed as a const_iterator to a vector of tokens ...