added example for namespace bracing
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Tue, 18 Nov 2003 20:10:19 +0000 (20:10 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Tue, 18 Nov 2003 20:10:19 +0000 (20:10 +0000)
doc/CodingStyle

index fc70d3e..cb1f6ee 100644 (file)
@@ -301,6 +301,10 @@ bodies and classes. Really short functions can be written in one single line.
                int x;
        };
 
+       namespace bar {
+               // a foo by any other name...
+       }
+
        void foo::schwupp(char c)
        {
                // diwupp