summaryrefslogtreecommitdiff
path: root/CodingGuideLines.txt
diff options
context:
space:
mode:
authorEric Schendel <esche@sourceforge.net>2002-09-16 17:35:47 +0000
committerEric Schendel <esche@sourceforge.net>2002-09-16 17:35:47 +0000
commit88d9a32ab5091a940360f1338a641f4f09e453f9 (patch)
tree6b07c6cfdd94fd5a48405a87b16591861a067d77 /CodingGuideLines.txt
parent90a08ec35df981da24c5c577a00665f07f2f49c1 (diff)
Updated coding style to support SUN 4.x compiler
Diffstat (limited to 'CodingGuideLines.txt')
-rw-r--r--CodingGuideLines.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CodingGuideLines.txt b/CodingGuideLines.txt
index b4aed63..5651ee8 100644
--- a/CodingGuideLines.txt
+++ b/CodingGuideLines.txt
@@ -38,6 +38,8 @@ CppUnit's coding guidelines for portability:
- don't use STL container at() method, instead use the array accessor [].
at() is not supported on some gcc versions.
+- dereferencing containers must be done by (*ref_ptr).data instead of
+ ref_ptr->data.
In brief, it should be possible to compile CppUnit on a C++ compiler that do
not have the following features: