Boost logo

Boost Users :

From: Vincent LaBella (vlabella_at_[hidden])
Date: 2003-04-25 16:01:56


Hello,
        I'm using boost::tokenizer and want to goto the last token in the
sequence, so I tried

Tok::iterator last = tok.end();
last--; // error decrement not defined

last = tok.begin();
advance(last,tok.size()-1); // error size() not defined.

Is it possible to add decrement or a back() reference to tokenizer?

Thanks

Vince


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