aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/docs
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2002-08-23 16:52:29 +0000
committerPhil Edwards <pme@gcc.gnu.org>2002-08-23 16:52:29 +0000
commit6dc5fdfd5f20d7335f814c2677d76d45b8dcb5ab (patch)
treedafc8c05d55e3d76f0f3ae08b7d6c9d0ca6b7ade /libstdc++-v3/docs
parent939e32f0605f8014facc2c920fe641241c797c1c (diff)
downloadgcc-6dc5fdfd5f20d7335f814c2677d76d45b8dcb5ab.tar.gz
gcc-6dc5fdfd5f20d7335f814c2677d76d45b8dcb5ab.tar.bz2
gcc-6dc5fdfd5f20d7335f814c2677d76d45b8dcb5ab.zip
linker-map.gnu: Verbose comments, clean up spacing.
2002-08-23 Phil Edwards <pme@gcc.gnu.org> * config/linker-map.gnu: Verbose comments, clean up spacing. * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return statements. __allocator: Change class declaration to struct. * docs/html/17_intro/C++STYLE: Fix typo. * include/bits/stl_deque.h, include/bits/stl_list.h, include/bits/stl_map.h, include/bits/stl_multimap.h, include/bits/stl_vector.h: Fix fallout from typo. From-SVN: r56540
Diffstat (limited to 'libstdc++-v3/docs')
-rw-r--r--libstdc++-v3/docs/html/17_intro/C++STYLE14
1 files changed, 8 insertions, 6 deletions
diff --git a/libstdc++-v3/docs/html/17_intro/C++STYLE b/libstdc++-v3/docs/html/17_intro/C++STYLE
index 46fe3f3f160..f838b830124 100644
--- a/libstdc++-v3/docs/html/17_intro/C++STYLE
+++ b/libstdc++-v3/docs/html/17_intro/C++STYLE
@@ -173,7 +173,7 @@ Notable areas of divergence from what may be previous local practice
int foo;
13. Spacing WRT return statements.
- no extra spacing before returns
+ no extra spacing before returns, no parenthesis
ie
}
@@ -184,6 +184,12 @@ Notable areas of divergence from what may be previous local practice
return __ret;
+ -NOT-
+
+ }
+ return (__ret);
+
+
14. Location of global variables.
All global variables of class type, whether in the "user visable"
space (e.g., cin) or the implementation namespace, must be defined
@@ -264,7 +270,7 @@ namespace std
int
two_lines(const char* arg)
- { return strchr(arg, 'a'); }
+ { return strchr(arg, 'a'); }
inline int
three_lines(); // inline, but defined below.
@@ -360,7 +366,3 @@ namespace std
}
} // namespace std
-
-
-
-