Go to the source code of this file.
Macros | |
#define | CRTP(Derived) (*static_cast<Derived *>(this)) |
Helper for the Curiously Recurring Template Pattern. More... | |
#define | CRTP_INST(Derived, el) (static_cast<Derived &>(el)) |
#define CRTP | ( | Derived | ) | (*static_cast<Derived *>(this)) |
Helper for the Curiously Recurring Template Pattern.
Definition at line 4 of file AH/Containers/CRTP.hpp.
#define CRTP_INST | ( | Derived, | |
el | |||
) | (static_cast<Derived &>(el)) |
Definition at line 5 of file AH/Containers/CRTP.hpp.