diff -r a67b1201942a -r 1a2f593f0c02 src/macros.h --- a/src/macros.h Fri Jul 04 00:09:37 2014 +0300 +++ b/src/macros.h Fri Jul 04 22:19:01 2014 +0300 @@ -63,6 +63,11 @@ #define readAccess(A) inline decltype(_##A) A() const { return _##A; } #define writeAccess(A,B) inline void B (decltype(_##A) const& a) const { _##A = a; } +#define DEFINE_CLASS(SELF, SUPER) \ +public: \ + using Self = SELF; \ + using Super = SUPER; + // ============================================================================= // #define elif(A) else if (A)