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

On Tue, Aug 2, 2011 at 9:24 AM, asif saeed <asif.lse2@gmail.com> wrote:
Hi Nathan,


On Mon, Aug 1, 2011 at 11:26 PM, Nathan Crookston <nathan.crookston@gmail.com> wrote:
On Mon, Aug 1, 2011 at 10:45 AM, asif saeed <asif.lse2@gmail.com> 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.