Skip to content

Commit 208e173

Browse files
committed
Added is_same_m
1 parent 25d6216 commit 208e173

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

provides/include/lax_v1/type_traits.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ struct lax_v1::is_array_m : lazify_v<bool, std::is_array, TypeExpr> {};
1616
template <class TypeExpr>
1717
struct lax_v1::is_pointer_m : lazify_v<bool, std::is_pointer, TypeExpr> {};
1818

19+
template <class LhsTypeExpr, class RhsTypeExpr>
20+
struct lax_v1::is_same_m
21+
: lazify_v<bool, std::is_same, LhsTypeExpr, RhsTypeExpr> {};
22+
1923
template <class TypeExpr>
2024
struct lax_v1::remove_all_extents_m
2125
: lazify_t<std::remove_all_extents, TypeExpr> {};

provides/include/lax_v1/type_traits_synopsis.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ template <class TypeExpr> struct is_array_m;
88

99
template <class TypeExpr> struct is_pointer_m;
1010

11+
template <class LhsTypeExpr, class RhsTypeExpr> struct is_same_m;
12+
1113
template <class TypeExpr> struct remove_all_extents_m;
1214

1315
template <class TypeExpr> struct remove_pointer_m;

0 commit comments

Comments
 (0)