24template <std::derived_from<Command> Base,
typename CRTP>
33 std::make_unique<CRTP>(std::move(*
static_cast<CRTP*
>(
this))));
CRTP implementation to allow polymorphic decorator functions in Command.
Definition CommandHelper.h:25
CommandPtr ToPtr() &&override
Definition CommandHelper.h:31
A wrapper around std::unique_ptr<Command> so commands have move-only semantics.
Definition CommandPtr.h:28
Definition FunctionalCommand.h:13