Chapter 36 Flashcards

1
Q

Does an ordinary class can also have member templates

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do template treat with non-type parameter

A

As constant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is example of template treatment with non-type parameter

A

Static memory allocation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can we set any type parameter as default type

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly