diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-11-03 06:51:19 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-11-03 05:54:53 +0000 |
commit | f9eb55e5f2cc20c390d29ca604165ddd71460d3c (patch) | |
tree | 275c979b646b335db48d7a32b88b553a4f7eb1fb /compat/meta.hpp | |
parent | 7b2e9831c2460e598b9a6511b856ae8d5b707de1 (diff) |
compat/meta: add constexpr variable
Diffstat (limited to 'compat/meta.hpp')
-rw-r--r-- | compat/meta.hpp | 3 |
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; |