Boost logo

Boost :

From: Thomas Don Aratari (taratari_at_[hidden])
Date: 2004-06-12 16:42:19


Hello,
  I'm trying to upgrade my boost to 1_31 but I keep getting the following
tokenizer error. I am using Forte 8.0 (CC: Sun C++ 5.5 Patch 113817-03
2003/10/14). Here is the code snip:

(passing in sString to be tokenized)

typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
boost::char_separator<char> seperator(sDroppedDelimiters, sKeptDelimiters, boost::keep_empty_tokens);
tokenizer tokens( sString, seperator );
for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter)
     vInVector.push_back( *tok_iter );

"/home/dev/cm/THIRD_PARTY/boost/include/boost/iterator/iterator_facade.hpp",
line 623: Error: Could not find a match for
boost::iterator_core_access::equal<boost::iterator_core_access::Facade1,
boost::iterator_core_access::Facade2>(const
boost::token_iterator<boost::char_separator<char, std::char_traits<char>>,
const char*, std::string>, const
boost::token_iterator<boost::char_separator<char, std::char_traits<char>>,
const char*, std::string>,
boost::is_convertible<boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>, const char*, std::string>,
boost::token_iterator<boost::char_separator<char, std::char_traits<char>>,
const char*, std::string>>).

"MDSStringHelpers.cxx", line 183: Where: While instantiating
"boost::operator!=<boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>, const char*, std::string>, std::string,
boost::forward_traversal_tag, const std::string &, int,
boost::token_iterator<boost::char_separator<char, std::char_traits<char>>,
const char*, std::string>, std::string, boost::forward_traversal_tag,
const std::string &, int>(const
boost::iterator_facade<boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>, const char*, std::string>, std::string,
boost::forward_traversal_tag, const std::string &, int>&, const
boost::iterator_facade<boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>, const char*, std::string>, std::string,
boost::forward_traversal_tag, const std::string &, int>&)".

"MDSStringHelpers.cxx", line 183: Where: Instantiated from
non-template code.

Any ideas how to fix or has anyone else seen this?

Thanks
Tom


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk