MSDN template sample

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


For the MSDN template sample,

http://msdn2.microsoft.com/en-us/library/w98s4hs8.aspx

My questions are,

1. does void
Code:
f(char) { printf_s("f(char)\n");}
or
Code:
g('c');
instantise function g to parameter type char?

2. "This can cause overloads to be declared after the template (but before the template is instantiated) to be seen." What does this mean?


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

Similar Threads

MSDN volatile sample 13
MSDN const_cast sample 2
MSDN for_each sample 2
Can't solve problems! please Help 0
struct inside a class 0
Skipws 0
define max length for allocator 0
MSDN IISSearch samples 1

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top