Boost logo

Boost Users :

From: ivan_at_[hidden]
Date: 2007-05-18 20:52:40


Hi,

I am doing very large loop where i need to tokenize a string in each iteration.

At each iteration of the loop there will be a string contained in char*.

It seems that in order to use the boost tokenizer, it is necessary to copy the
string into a std::string rather than using the data directly from the char*.
This is adding a copy for each iteration to the loop.

Is there no way to use the tokenizer directly on a char* rather than
std::string?

Thank you,
Ivan Novick
http://www.0x4849.net


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