.. with error: "... In member function ‘void htmlcxx::HTML::ParserSax::parse(_Iterator, _Iterator) [with _Iterator = const char*]’:
ParserSax.cc:6: instantiated from here
ParserSax.tcc:26: error: dependent-name ‘std::iterator_traits<_Iter>::iterator_category’ is parsed as a non-type, but instantiation yields a type
ParserSax.tcc:26: note: say ‘typename std::iterator_traits<_Iter>::iterator_category’ if a type is meant"
Help, pls :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edit html/ParserSax.tcc and on line 26, write typename before std::. Like this:
parse(begin, end, typename std::iterator_traits<_Iterator>::iterator_category());
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
.. with error: "... In member function ‘void htmlcxx::HTML::ParserSax::parse(_Iterator, _Iterator) [with _Iterator = const char*]’:
ParserSax.cc:6: instantiated from here
ParserSax.tcc:26: error: dependent-name ‘std::iterator_traits<_Iter>::iterator_category’ is parsed as a non-type, but instantiation yields a type
ParserSax.tcc:26: note: say ‘typename std::iterator_traits<_Iter>::iterator_category’ if a type is meant"
Help, pls :)
Edit html/ParserSax.tcc and on line 26, write typename before std::. Like this:
parse(begin, end, typename std::iterator_traits<_Iterator>::iterator_category());