diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html index 62288cc9e86..8566e670f20 100644 --- a/docs/CodingStandards.html +++ b/docs/CodingStandards.html @@ -37,6 +37,7 @@
+
+
+
+
+
+
Avoid endl
+
+The endl modifier, when used with iostreams outputs a newline to the output stream specified. In addition to doing this, however, it also flushes the output stream. In other words, these are equivalent:
+ cout << endl;
+ cout << "\n" << flush;
+
+
+Most of the time, you probably have no reason to flush the output stream, so it's better to use a literal "\n".
Exploit C++ to its Fullest
@@ -646,7 +660,7 @@ If you get some free time, and you haven't read them: do so, you might learn som
Chris Lattner
-Last modified: Mon Oct 1 15:33:40 CDT 2001
+Last modified: Sun Jan 20 13:01:02 CST 2002