template argument

Joined
Feb 12, 2008
Messages
108
Reaction score
0
Hello everyone,


I can not find precise definition for typed argument for template and non-typed argument for template.

My understanding is,

code like

Code:
template <class T, int size> class Foo {
// ...
}

T is typed template argument, and size is non-typed template argument. My understanding correct?


thanks in advance,
George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,096
Latest member
ThurmanCre

Latest Threads

Top