|
-
May 25th, 2011, 11:53 AM
#1
instances
How many instances are created after called in a template function/class ?
-
May 25th, 2011, 11:57 AM
#2
-
May 25th, 2011, 12:05 PM
#3
Re: instances
template <class C>
void func(C a)
{
// do something
}
and in call main
{
func<int>(6);
func<double>(10.5);
}
-
May 25th, 2011, 12:32 PM
#4
Re: instances
You're going to have to clarify the question.
-
May 25th, 2011, 12:35 PM
#5
Re: instances
Your question isn't clear, but it seems the debugger and a breakpoint in your class constructor should answer it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|