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

home
> prog
>> freecpp
>>> namespace template

translate to German (by SYSTRAN)

Namespaced Template

> namespace_template.cpp:

namespace ns
{
  struct A
  { };

  template<class T> class B
    : public A
  { };
}

ns::B<int> b;


int main()
{
  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.2, cmeerw.org/prog/freecpp/namespace_template.html
Last modified: Mon Sep 03 18:20:50 2018
Christof Meerwald <cmeerw@cmeerw.org>
XMPP: cmeerw@cmeerw.org