|
SUNphi
1.0
|
Support for Curiously Recurring Template Pattern. More...
#include <metaprogramming/SwallowSemicolon.hpp>Go to the source code of this file.
Macros | |
| #define | PROVIDE_CRTP_CAST_OPERATOR(CLASS) |
| #define | CRTP_THIS (~*this) |
| Access to the inheriting class. | |
Support for Curiously Recurring Template Pattern.
Definition in file CRTP.hpp.
| #define PROVIDE_CRTP_CAST_OPERATOR | ( | CLASS | ) |
Perform the cast to base class needed for CRTP
Overload the ~ operator to implement cast to the basic class of a CRTP class