|
|
|
| |||||
|
|
| ||||||
|
|
|||||||
|
|
home translate to German (by SYSTRAN)
|
|
|
Namespaced Template Function> namespace_template_func.cpp:
namespace N
{
template<class T> void f(T a)
{ }
template<class T> void g(T a)
{
f(a);
}
}
int main(int argc, char *argv[])
{
N::g(3);
return 0;
}
| |||
This Web page is licensed under the Creative Commons Attribution - NonCommercial - Share Alike License. Any use is subject to the Privacy Policy.
|
Revision: 1.1, http://cmeerw.org/prog/freecpp/namespace_template_func.html Last modified: Sun Nov 11 14:44:53 2001 |
Christof Meerwald <cmeerw@cmeerw.org> XMPP: cmeerw@cmeerw.org |