You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
376 B

template<typename T, template<typename> class SpecialClass>
class Example
{
// Copy constructor with other variants of Example
template<template<typename> class OtherSpecialClass>
Example(const Example<T, OtherSpecialClass>& other)
{
// do something useful here
}
/** The normal member var based on the template arguments */
SpecialClass<T> memberVar;
};