Package Index  Table of Contents

CodeCheck ECS C/C++ to Test Suite - 15.cpp

//15.    Pluralize the names of collections.
template  class list ;
class Shape {
public:
};
typedef list Shapes;
Shapes 	shape;		// single, singular
Shapes 	shapes[10];	// multiple, plual
Shape	array[10];	// BAD multipe, no plural 

Package Index  Table of Contents

CodeCheck Copyright (c) 1988-2005 by Abraxas Software Inc. (R). All rights reserved.