Boost logo

Boost :

From: dejavous_ie_at_[hidden]
Date: 2001-12-01 10:04:22


Mr Bandela,
 Thank you for the help but I cannot get what you suggested to work. When I enter the punct_space_separator<char> sep(false,"()"); line the compiler throws errors saying that this is undeclard and the first use of this function.

Thanks for your time.

--- In boost_at_y..., jbandela_at_u... wrote:
> This should work
>
> using namespace boost;
> string s = "{0 0.23 56 45.456}"
> punct_space_separator<char> sep(false,"()");
> tokenizer<> tok(s,sep);
>
>
> The reason this works is that it overrides the default ispunct to
> pick delimiters.
>
> Regards,
>
> John R. Bandela


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk