]> www.ginac.de Git - ginac.git/blobdiff - doc/CodingStyle
added example for namespace bracing
[ginac.git] / 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