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: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-08-02 03:39:26


On Aug 2, 2011, at 2:31 AM, asif saeed <asif.lse2_at_[hidden]> wrote:

> I still don't understand why it works on GCC 4.6.0 if storing string is necessary. Sincerely, Asif

Holding pointers or iterators on an object which has just been destroyed may occasionally work by accident if the memory hasn't been overwritten by the next thing.


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