diff --git a/Utility/evaluation.h b/Utility/evaluation.h index c412fc1..719b1fb 100644 --- a/Utility/evaluation.h +++ b/Utility/evaluation.h @@ -15,11 +15,13 @@ namespace Alepha::Hydrogen::Utility { struct evaluate_t {}; struct enroll_t {}; + struct lambaste_t {}; inline namespace exports { inline constexpr evaluate_t evaluate; inline constexpr enroll_t enroll; + inline constexpr lambaste_t lambaste; } template< typename Function > @@ -39,6 +41,13 @@ namespace Alepha::Hydrogen::Utility return registration; } + + template< typename Value > + auto + operator <=( lambaste_t, Value value ) + { + return [value]{ return value; }; + } } namespace exports::evaluation