|
|
|
| |||||
|
|
| ||||||
|
|
|||||||
|
|
home translate to German (by SYSTRAN)
|
|
|
Explicit Qualification of Template FunctionSee Explicit qualification of template functions @ corfield.org. > template_function_explicit.cpp:
template<class T>
T f(T a)
{
return a;
}
int main(int argc, char *argv[])
{
int a = 0;
return f<int>(a);
}
| |||
This Web page is licensed under the Creative Commons Attribution - NonCommercial - Share Alike License. Any use is subject to the Privacy Policy.
|
Revision: 1.2, http://cmeerw.org/prog/freecpp/template_function_explicit.html Last modified: Thu Dec 26 14:54:32 2002 |
Christof Meerwald <cmeerw@cmeerw.org> XMPP: cmeerw@cmeerw.org |