| Christof Meerwald@freec++.prog | ||||
Template Template ArgumentsSee 14.3.3 Template template arguments [temp.arg.template] and Templates as template arguments @ corfield.org.
template<class T>
struct A
{ };
template<template<class T> class T1> struct B
{ };
int main()
{
B<A> b;
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/template_template_arg.html Last modified: Mon Sep 03 18:20:50 2018 |
Christof Meerwald <cmeerw@cmeerw.org> XMPP: cmeerw@cmeerw.org |