Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost::Tokenizer / "string iterators incompatible" error on Visual C++ 2010 Express - runs ok on gcc4.6.0
From: asif saeed (asif.lse2_at_[hidden])
Date: 2011-08-02 00:24:31


Hi Nathan,

On Mon, Aug 1, 2011 at 11:26 PM, Nathan Crookston <
nathan.crookston_at_[hidden]> wrote:

> On Mon, Aug 1, 2011 at 10:45 AM, asif saeed <asif.lse2_at_[hidden]> wrote:
> > Base(std::string s) : sep_(";"),
> > tok_(s,sep_),
> > i_(tok_.begin())
> > {
> > }
>
> These lines are your problem -- the tokenizer stores the iterators
>

It causes problem on Visual C++ 2010 Express at run-time. However, it runs
fine on GCC 4.6.0 / Fedora-15-64-bit.

Sincerely, Asif



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net