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 fc70d3ef3dcee7f50c4c922f4dfc382cbcb5abf0..cb1f6ee3162557aafb25b4f6e6900bcf1e314179 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