siplasplas
astexamples.hpp
1 
2 class Class
3 {
4 public:
5  void f();
6  int i;
7 };
8 
9 enum OldEnum
10 {
11  OLD_ENUM_VALUE_1 = 1,
12  OLD_ENUM_VALUE_2 = 2
13 };
14 
15 enum class EnumWithDefaultUnderlyingType
16 {
17  ENUM_VALUE_1 = 1,
18  ENUM_VALUE_2 = 2
19 };
20 
21 enum class EnumWithIntUnderlyingType : int
22 {
23  INT_ENUM_VALUE_1 = 1,
24  INT_ENUM_VALUE_2 = 1 + 1
25 };
26 
28 {
29 public:
30  void foo();
31  void foobar();
32  void quux();
33  void fo();
34 };
35 
36 template<typename T>
38 {};
39 
40 template<>
42 {};
43 
44 #include <reflection/examples/reflection/astexamples.hpp>
Definition: astexamples.hpp:37
Definition: astexamples.hpp:2
Definition: astexamples.hpp:27