---------------
Christof.Meerwald@ freec++.prog

home
> prog
>> freecpp
>>> using namespace template

translate to German (by SYSTRAN)

Using Namespaced Template

> using_namespace_template.cpp:

namespace ns
{
  template<class T> void f(T a)
  { }
}

using ns::f;


int main()
{
  int a = 0;
  f(a);

  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/using_namespace_template.html
Last modified: Sun Sep 30 22:03:43 2001
Christof Meerwald <cmeerw@cmeerw.org>
XMPP: cmeerw@cmeerw.org