showing the angle brackets
This commit is contained in:
@@ -41,7 +41,7 @@ T”. In the actual text of the code files, templated member functions are often
|
|||||||
declaration.
|
declaration.
|
||||||
|
|
||||||
- The templated functions defined outside the template class declaration must be preceded by the phrase:
|
- The templated functions defined outside the template class declaration must be preceded by the phrase:
|
||||||
template <class T> and then when Vec is referred to it must be as Vec<T> . For example, for member
|
template <class T> and then when Vec is referred to it must be as Vec<T>. For example, for member
|
||||||
function create (two versions), we write:
|
function create (two versions), we write:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user