diff --git a/type.hpp b/type.hpp index eec8028..7a8d32d 100644 --- a/type.hpp +++ b/type.hpp @@ -63,6 +63,10 @@ template struct is_reference : true_type {}; template struct is_reference : true_type {}; template inline constexpr bool is_reference_v = is_reference::value; +template struct is_lvalue_reference : false_type {}; +template struct is_lvalue_reference : true_type {}; +template inline constexpr bool is_lvalue_reference_v = is_lvalue_reference::value; + template struct is_function : integral_constant && !is_reference_v> {}; template inline constexpr bool is_function_v = is_function::value;