Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-01-15 19:33:23

John Bandela, would you be open to removing the bool parameter for the
char_delimiters_separator constructor? It would simplify the interface,
making it easier to use.


 Jeremy Siek
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster ( office phone: (812) 855-3608

---------- Forwarded message ----------
Date: Wed, 16 Jan 2002 00:01:53 -0000
From: rradh <rradh_at_[hidden]>
Reply-To: Boost-Users_at_[hidden]
To: Boost-Users_at_[hidden]
Subject: [Boost-Users] Re: tokenizer


Thanks for your suggestion. The following works:

 char_delimiters_separator<char> separator(false,"(),= ");

but as jeremy suggested, the first arg seems unnecessary.


--- In Boost-Users_at_y..., Darin Adler <darin_at_b...> wrote:
> On 1/15/02 2:47 PM, "rradh" <rradh_at_y...> wrote:
> > I want to be able to specify delimiters like in strtok so that I
> > a_1, b_1 and c_2 but couldn't figure out how to specify the
> > function. Any suggestions?
> Here's an example:
> boost::char_delimiters_separator<char> separator(false, "", "
> boost::tokenizer<> tok(line, separator);
> Let me know if that helps. Perhaps we should ask John Bandela to
include at
> least one example like this to make things clearer.
> -- Darin

Info: <>
Wiki: <>
Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>

Your use of Yahoo! Groups is subject to

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