]> www.ginac.de Git - ginac.git/blobdiff - doc/CodingStyle
Remove C++89 workaround for closing angle brackets in nested templates.
[ginac.git] / doc / CodingStyle
index 4ac0f189ff19973e31f170129d3e987193eeed9f..e387bf294eb5a02e7ef95714bb11af96feea53e8 100644 (file)
@@ -208,12 +208,10 @@ after (or before, in the case of postfix '++' and '--') unary operators:
        x = -(y + z) / 2;
 
 There are no spaces around the '<' and '>' used to designate template
-parameters. Unfortunately, a design flaw in C++ requires putting a space
-between two consecutive closing '>'s. We suggest that in this case you also
-put a space after the opening '<':
+parameters:
 
        vector<int> vi;
-       vector< list<int> > vli;
+       vector<list<int>> vli;
 
 '*' and '&' in the declaration of pointer-to and reference-to variables
 have a space before, but not after them: