Fix operator precedence error in documentation. Fixes #2122

[SVN r53520]
This commit is contained in:
Steven Watanabe
2009-06-01 00:47:03 +00:00
parent d84f81d841
commit 9bad789175

View File

@ -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"
</programlisting>