Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-01-30 17:49:01


Tim Van Epps writes:
> I'm trying to use boost::tokenizer with the sunpro compiler and
> encountering an error in the boost interator.
>
> Sunpro compiler: CC: Sun C++ 5.5 Patch 113817-10 2004/10/05
> boost 1_32_0
>
> program that demonstrates the error:
> #include <boost/tokenizer.hpp>
>
> using namespace boost;
>
> int
> main(int argc, char ** argv) {
> std::string ret;
> char_separator<char> sep("\r\n");
> tokenizer<char_separator<char> > tok(ret, sep);
> for(tokenizer<char_separator<char> >::iterator i =tok.begin();
> i != tok.end(); ++i) {}
> }
>
> the output from CC -I$D/src/vendor/incl -o bug bug.C:

[...]

> I've seen variations on this issue discussed on the boost mailing lists,
> but I'm not sure I've seen a definitive answer. Does anybody have one?

See http://thread.gmane.org/gmane.comp.lib.boost.user/7452. Tomas didn't
follow up on this, though, so it didn't get fixed in the CVS.

--
Aleksey Gurtovoy
MetaCommunications Engineering

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