From f9eb55e5f2cc20c390d29ca604165ddd71460d3c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 3 Nov 2018 06:51:19 +0100 Subject: compat/meta: add constexpr variable --- compat/meta.hpp | 3 +++ 1 file changed, 3 insertions(+) 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 class to, typename from> using lift = typename detail::lift_::type; + template class to, typename from> + constexpr inline auto lift_v = detail::lift_::type::value; + template using first = x; -- cgit v1.2.3