Ru-Brd |
7.1 "Class Template" or "Template Class"?In C++, structs, classes, and unions are collectively called class types . Without additional qualification, the word "class" in plain text type is meant to include class types introduced with either the keyword class or the keyword struct . [1] Note specifically that "class type" includes unions, but "class" does not.
There is some confusion about how a class that is a template is called:
The difference between the second and third meaning is somewhat subtle and unimportant for the remainder of the text. Because of this imprecision, we avoid the term template class in this book. Similarly, we use function template and member function template , but avoid template function and template member function . |
Ru-Brd |