|
Boost Users : |
Subject: Re: [Boost-users] Tokenizer - multiple separators
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2012-03-20 10:05:06
On 3/20/2012 12:43 PM, asif saeed wrote:
> Hi,
>
> Can I pass multiple separators (for example ";|") in a char_sep to
> Boost::Tokenizer? Can I then use boost is_any_of to tokenize of any of
> these separator characters? Can you give me an example? Does
> Boost::Tokenizer already do this? Thanks in advance.
You may want to look at Boost.Range's range adaptors. In particular,
-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