
16 Jun
2010
16 Jun
'10
2:43 p.m.
On 6/16/2010 9:47 AM, Beman Dawes wrote:
std::string actual; std::stringstream ss;
ss << delimit(expected); ss >> undelimit(actual);
delimit doesn't feel right to me. I prefer quoted. It's the commonly used term in Perl, for instance. From dictionary.com quote: ... 5) to enclose (words) within quotation marks. And given the direction of the streaming, is there really a need for a separate quoted and unquoted manipulator? I'd like: ss << quoted(expected); ss >> quoted(actual); -- Eric Niebler BoostPro Computing http://www.boostpro.com