Code:
In file included from /usr/include/c++/4.8/map:60:0,
from ../include/casp/gecodesolver.h:9,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stl_tree.h:927:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator!=(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
operator!=(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
^
/usr/include/c++/4.8/bits/stl_tree.h:927:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/map:60:0,
from ../include/casp/gecodesolver.h:9,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stl_tree.h:316:5: note: template<class _Val> bool std::operator!=(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
operator!=(const _Rb_tree_iterator<_Val>& __x,
^
/usr/include/c++/4.8/bits/stl_tree.h:316:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/local/include/gecode/kernel/array.hpp:47,
from /usr/local/include/gecode/kernel.hh:160,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stl_vector.h:1428:5: note: template<class _Tp, class _Alloc> bool std::operator!=(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
^
/usr/include/c++/4.8/bits/stl_vector.h:1428:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::vector<_Tp, _Alloc>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/iterator:66:0,
from /usr/local/include/gecode/kernel/array.hpp:46,
from /usr/local/include/gecode/kernel.hh:160,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stream_iterator.h:137:5: note: template<class _Tp, class _CharT, class _Traits, class _Dist> bool std::operator!=(const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&, const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&)
operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __x,
^
/usr/include/c++/4.8/bits/stream_iterator.h:137:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
from /usr/include/c++/4.8/bits/basic_ios.h:37,
from /usr/include/c++/4.8/ios:44,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /usr/local/include/gecode/support/bitset-offset.hpp:46,
from /usr/local/include/gecode/support.hh:117,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/streambuf_iterator.h:210:5: note: template<class _CharT, class _Traits> bool std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
^
/usr/include/c++/4.8/bits/streambuf_iterator.h:210:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/string:52:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /usr/local/include/gecode/support/bitset-offset.hpp:46,
from /usr/local/include/gecode/support.hh:117,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/basic_string.h:2556:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/usr/include/c++/4.8/bits/basic_string.h:2556:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/string:52:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /usr/local/include/gecode/support/bitset-offset.hpp:46,
from /usr/local/include/gecode/support.hh:117,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/basic_string.h:2544:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator!=(const _CharT* __lhs,
^
/usr/include/c++/4.8/bits/basic_string.h:2544:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: mismatched types 'const _CharT*' and 'boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/string:52:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /usr/local/include/gecode/support/bitset-offset.hpp:46,
from /usr/local/include/gecode/support.hh:117,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/basic_string.h:2532:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/usr/include/c++/4.8/bits/basic_string.h:2532:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/iosfwd:40:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /usr/local/include/gecode/support/bitset-offset.hpp:46,
from /usr/local/include/gecode/support.hh:117,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/postypes.h:221:5: note: template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^
/usr/include/c++/4.8/bits/postypes.h:221:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::fpos<_StateT>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/ext/alloc_traits.h:38:0,
from /usr/include/c++/4.8/bits/stl_construct.h:61,
from /usr/include/c++/4.8/bits/stl_tempbuf.h:60,
from /usr/include/c++/4.8/bits/stl_algo.h:62,
from /usr/include/c++/4.8/algorithm:62,
from /usr/local/include/gecode/support/heap.hpp:40,
from /usr/local/include/gecode/support.hh:106,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/allocator.h:143:5: note: template<class _Tp> bool std::operator!=(const std::allocator<_Tp1>&, const std::allocator<_Tp1>&)
operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
^
/usr/include/c++/4.8/bits/allocator.h:143:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::allocator<_Tp1>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/ext/alloc_traits.h:38:0,
from /usr/include/c++/4.8/bits/stl_construct.h:61,
from /usr/include/c++/4.8/bits/stl_tempbuf.h:60,
from /usr/include/c++/4.8/bits/stl_algo.h:62,
from /usr/include/c++/4.8/algorithm:62,
from /usr/local/include/gecode/support/heap.hpp:40,
from /usr/local/include/gecode/support.hh:106,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/allocator.h:138:5: note: template<class _T1, class _T2> bool std::operator!=(const std::allocator<_Tp1>&, const std::allocator<_T2>&)
operator!=(const allocator<_T1>&, const allocator<_T2>&)
^
/usr/include/c++/4.8/bits/allocator.h:138:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::allocator<_Tp1>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/algorithm:61,
from /usr/local/include/gecode/support/heap.hpp:40,
from /usr/local/include/gecode/support.hh:106,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stl_iterator.h:353:5: note: template<class _IteratorL, class _IteratorR> bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator!=(const reverse_iterator<_IteratorL>& __x,
^
/usr/include/c++/4.8/bits/stl_iterator.h:353:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::reverse_iterator<_Iterator>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/algorithm:61,
from /usr/local/include/gecode/support/heap.hpp:40,
from /usr/local/include/gecode/support.hh:106,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stl_iterator.h:303:5: note: template<class _Iterator> bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator!=(const reverse_iterator<_Iterator>& __x,
^
/usr/include/c++/4.8/bits/stl_iterator.h:303:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::reverse_iterator<_Iterator>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/utility:70:0,
from /usr/include/c++/4.8/algorithm:60,
from /usr/local/include/gecode/support/heap.hpp:40,
from /usr/local/include/gecode/support.hh:106,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stl_pair.h:227:5: note: template<class _T1, class _T2> bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/usr/include/c++/4.8/bits/stl_pair.h:227:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const std::pair<_T1, _T2>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++allocator.h:33:0,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/ext/alloc_traits.h:38,
from /usr/include/c++/4.8/bits/stl_construct.h:61,
from /usr/include/c++/4.8/bits/stl_tempbuf.h:60,
from /usr/include/c++/4.8/bits/stl_algo.h:62,
from /usr/include/c++/4.8/algorithm:62,
from /usr/local/include/gecode/support/heap.hpp:40,
from /usr/local/include/gecode/support.hh:106,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/ext/new_allocator.h:144:5: note: template<class _Tp> bool __gnu_cxx::operator!=(const __gnu_cxx::new_allocator<_Tp>&, const __gnu_cxx::new_allocator<_Tp>&)
operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
^
/usr/include/c++/4.8/ext/new_allocator.h:144:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const __gnu_cxx::new_allocator<_Tp>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/algorithm:61,
from /usr/local/include/gecode/support/heap.hpp:40,
from /usr/local/include/gecode/support.hh:106,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stl_iterator.h:823:5: note: template<class _Iterator, class _Container> bool __gnu_cxx::operator!=(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
operator!=(const __normal_iterator<_Iterator, _Container>& __lhs,
^
/usr/include/c++/4.8/bits/stl_iterator.h:823:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const __gnu_cxx::__normal_iterator<_Iterator, _Container>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/algorithm:61,
from /usr/local/include/gecode/support/heap.hpp:40,
from /usr/local/include/gecode/support.hh:106,
from /usr/local/include/gecode/kernel.hh:50,
from /usr/local/include/gecode/minimodel.hh:47,
from /usr/local/include/gecode/driver.hh:41,
from ../include/casp/gecodesolver.h:4,
from simpleparser.cpp:1:
/usr/include/c++/4.8/bits/stl_iterator.h:817:5: note: template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator!=(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)
operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs,
^
/usr/include/c++/4.8/bits/stl_iterator.h:817:5: note: template argument deduction/substitution failed:
simpleparser.cpp:46:80: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'const __gnu_cxx::__normal_iterator<_IteratorL, _Container>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
simpleparser.cpp:46:83: error: no match for 'operator++' (operand type is 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}')
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
simpleparser.cpp:46:83: note: candidate is:
In file included from /usr/include/boost/iterator/iterator_adaptor.hpp:15:0,
from /usr/include/boost/token_iterator.hpp:22,
from /usr/include/boost/tokenizer.hpp:20,
from simpleparser.cpp:6:
/usr/include/boost/iterator/iterator_facade.hpp:722:3: note: template<class I, class V, class TC, class R, class D> typename boost::detail::postfix_increment_result<I, V, R, TC>::type boost::operator++(boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, int)
operator++(
^
/usr/include/boost/iterator/iterator_facade.hpp:722:3: note: template argument deduction/substitution failed:
simpleparser.cpp:46:85: note: 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}' is not derived from 'boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>'
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {
^
simpleparser.cpp:47:11: error: no match for 'operator*' (operand type is 'boost::tokenizer<boost::char_separator<char> >::iterator {aka boost::token_iterator<boost::char_separator<char>, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, std::basic_string<char> >}')
token = *tok_iter;
^
make[2]: *** [simpleparser.lo] Error 1
make[2]: Leaving directory `/home/dave/Build/caspnew/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dave/Build/caspnew/src'
make: *** [all-recursive] Error 1
Bookmarks