summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/templ_class.h
blob: 0f1022443917cb02356744df5ddad6381b63050d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;

};