c++ - What are the default character separators for boost::char_separator (for use with boost::tokenizer)? -
the answer question seems should obtainable looking @ boost documentation char_separator
, or googling.
however, can find answer question: default separators boost::char_separator
(for use boost::tokenizer
)?
thanks!
http://www.boost.org/doc/libs/1_55_0/libs/tokenizer/introduc.htm
... if not specify anything, default tokenizerfunction char_delimiters_separator defaults breaking string based on space , punctuation. ...
according source code, "punctuation" defined std::ispunct(e) != 0
, while "space" defined std::isspace(e) != 0
.
Comments
Post a Comment