Chapter 36 Flashcards
1
Q
Does an ordinary class can also have member templates
A
Yes
2
Q
How do template treat with non-type parameter
A
As constant
3
Q
What is example of template treatment with non-type parameter
A
Static memory allocation
4
Q
Can we set any type parameter as default type
A
Yes