Boost logo

Boost Users :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-05-31 06:59:54


"Victor A. Wagner Jr." <vawjr_at_[hidden]> wrote in message news:6.1.0.6.2.20040531040701.0640fec0_at_mail.rudbek.com...
| Perhaps it doesn't provide them because reverse_iterator won't work.
| At Sunday 2004-05-30 07:40, you wrote:
| >I've also tried rbegin/rend.
| >However, the boost::tokenizer doesn't provide these methods, while it does
| >provide begin/end.

AFAICT, you should fill the tokenizer with an iterator version, eg

tok.assign( str.rbegin(), str.rend() );

and then just use tok.begin(), tok.end();

br

Thorsten


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