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
enum E { e1, e2, e3 };
enum class EC { e1, e2, e3 };

struct A {
  int i;
  long l;
  float f;
  double d;
  E e;
  EC ec;
};

extern constexpr A a{42, 47l, 4.2f, 4.7, e1, EC::e3};
extern constexpr E e(e2);
extern constexpr EC ec(EC::e2);