I have a minor complaint about the boost::char_separator class used in the
tokenizer library.  In its constructor it takes several const char *'s as
parameters.  This makes it difficult if I want to pass std::string's in. I'm
not sure if the following code is safe:

std::string getSeparatorChars();

boost::char_separator<char> mySeparator(getSeparatorChars().c_str());

Would it be possible to add a constructor to char_separator to take
std::string's?

Joe Gottman



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to