|
Boost Users : |
Subject: [Boost-users] Getting Position from result of "boost::make_split_iterator(s1, token_finder(is_any_of(s2), token_compress_on)); "
From: asif saeed (asif.lse2_at_[hidden])
Date: 2012-04-05 07:55:45
Hi,
Can I get the position from the iterator that I get from split_iterator?
The position I am seeking to determine is the "zero-based number of token
separated by the separator". That is, in
"one;two;three;four;five;six;seven;eight", the position of three is 2 and
eight is 7. Can anyone help me on this?
I am using Boost 1.47.0 on Windows 2003 Standard Edition 32-bit with Visual
C++ 2010 Express.
Best regards, 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