CRTP-based mixin to declare setters for Def::loc & Def::name using a covariant return type. More...
#include <mim/def.h>
Public Member Functions | |
| template<bool Ow = false, class... Args> requires Fwd<Ow, Args...> | |
| const P * | set (Args &&... args) const |
| template<bool Ow = false, class... Args> requires Fwd<Ow, Args...> | |
| P * | set (Args &&... args) |
CRTP-based mixin to declare setters for Def::loc & Def::name using a covariant return type.
Forwards every argument list the Def::setters accept and hands back a P instead of a Def.
Ow, so they keep winning.
|
inline |
|
inline |