|
Boost : |
From: Jeff Garland (jeff_at_[hidden])
Date: 2004-08-03 12:48:02
On Tue, 3 Aug 2004 19:04:08 +0200, Pavol Droba wrote
> On Tue, Aug 03, 2004 at 09:21:57AM -0700, Jeff Garland wrote:
> Thanks for pointing that out. Explicit template parameter is an old
> reminiscent. It should no be there. So the correct syntax would be:
>
> typedef vector< string > split_vector_type;
>
> split_vector_type SplitVec; // #2: Search for tokens
> split( SplitVec, str1, is_any_of("-*") ); // SplitVec == {
> "hello abc","ABC","aBc goodbye" }
Yes, thanks, I figured it out shortly after sending the email. It's much
better without the typing cluttering things up :-)
Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk