summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/meta.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/meta.hpp b/compat/meta.hpp
index 7956ba3c..49686996 100644
--- a/compat/meta.hpp
+++ b/compat/meta.hpp
@@ -95,6 +95,9 @@ namespace meta {
template<template<typename...> class to, typename from>
using lift = typename detail::lift_<to, from>::type;
+ template<template<typename...> class to, typename from>
+ constexpr inline auto lift_v = detail::lift_<to, from>::type::value;
+
template<typename x, typename... xs>
using first = x;