reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
template <typename T> struct A {
};

template <> struct A<int> {
  struct B {
    int f;
  };
};

template <> struct A<bool> {
  struct B {
    int g;
  };
};


template <typename T> constexpr int f() { return 0; }
template <> constexpr int f<int>() { return 4; }