1. STL and TR1: Part II.
- Author
-
Becker, Pete
- Subjects
- *
COMPUTER software , *COMPUTER programming , *PROGRAMMING languages , *ELECTRONIC data processing , *COMPUTER programmers , *COMPUTER software industry , *COMPUTER industry , *HIGH technology industries - Abstract
This article deals with the functions of the Template Class array. The template class states two arguments. First of all is the type of the elements that the object will hold and the second is the number of elements. Thus, like a C-style array, an array object holds a fixed-size array of objects. In addition, an array object can be initialized with an aggregate initializer, just like a C-style array. Hence, an array or class type is not an aggregate if it has any user-declared constructors or any private and protected non static data members.
- Published
- 2006