5 Apr
2002
5 Apr
'02
7:34 p.m.
One minor thing to point out: macrodisk wrote:
boost::char_separator<char> sep(";", boost::keep_empty_tokens); boost::char_separator<char> sep(";", "|", boost::keep_empty_tokens);
Even if C++ default arguments worked as you liked (which they don't), those two are not equivalent. The actual default argument for kept_delims is 0 (at least in 1.27, perhaps it's different in older versions since the documentation states the default is ""). What you should be using is: boost::char_separator<char> sep(";", 0, boost::keep_empty_tokens); moo ------------------------------------------------------------ R Samuel Klatchko - Principal Software Jester Brightmail Inc - rsk@brightmail.com