diff --git a/string/doc/usage.xml b/string/doc/usage.xml index ca100e0..528babe 100644 --- a/string/doc/usage.xml +++ b/string/doc/usage.xml @@ -130,7 +130,7 @@ string str1("command.com"); cout << str1 - << is_executable("command.com")? "is": "is not" + << (is_executable("command.com")? "is": "is not") << "an executable" << endl; // prints "command.com is an executable" @@ -138,7 +138,7 @@ char text1[]="hello world!"; cout << text1 - << all( text1, is_lower() )? "is": "is not" + << (all( text1, is_lower() )? "is": "is not") << " written in the lower case" << endl; // prints "hello world! is written in the lower case"