Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2003-07-15 04:12:11

I remember that there are 2 types of separators in boost tokenizer:
returnable and ignorable. Set "-" as returnable separator, and "," as
ignorable. It should give you all the information you need.


"lattice" <zhangwusheng_at_[hidden]> wrote in message
> If we print some pages ,we can select pages in a range to print.
> for example,if we enter 2,3,5-7 in Ms-word print dialog,then page
> 2,3,5,6,7 is printed.
> Now questions is :
> if we get a string like this "2,3,5-7",if we use boost::tokenizer,
> we can only get 2,3,5,7. eventually some information is lost.
> How can we get the desired result----"2,3,5,6,7" using boost::tokenizer?
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at