1
0
forked from Alepha/Alepha

Lambaste.

This commit is contained in:
2021-10-15 05:16:53 -04:00
parent 9e0132185f
commit 5ecf387a76

View File

@ -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