STYLE: word::validated without underscore prefix by default (issue #518)

- this now appears to be the more common use case.
This commit is contained in:
Mark Olesen
2017-07-18 14:09:49 +02:00
parent 2c69b7d7c4
commit 72f242405a
5 changed files with 11 additions and 10 deletions

View File

@ -83,7 +83,8 @@ int main(int argc, char *argv[])
Info<<"camel-case => " << (word("camel") & "case") << nl;
for (const auto& s : { " text with \"spaces'", "08/15 value" })
{
Info<<"validated \"" << s << "\" => " << word::validated(s) << nl;
Info<<"validated \"" << s << "\" => "
<< word::validated(s, true) << nl;
}
Info<< nl;