Skip to content

Commit 25d6216

Browse files
committed
Better names for parameters
1 parent 5697ff6 commit 25d6216

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

provides/include/lax_v1/type_traits.hpp

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,19 @@
66
#include <cstddef>
77
#include <type_traits>
88

9-
template <class T>
10-
struct lax_v1::alignment_of_m : lazify_v<size_t, std::alignment_of, T> {};
9+
template <class TypeExpr>
10+
struct lax_v1::alignment_of_m : lazify_v<size_t, std::alignment_of, TypeExpr> {
11+
};
1112

12-
template <class T>
13-
struct lax_v1::is_array_m : lazify_v<bool, std::is_array, T> {};
13+
template <class TypeExpr>
14+
struct lax_v1::is_array_m : lazify_v<bool, std::is_array, TypeExpr> {};
1415

15-
template <class T>
16-
struct lax_v1::is_pointer_m : lazify_v<bool, std::is_pointer, T> {};
16+
template <class TypeExpr>
17+
struct lax_v1::is_pointer_m : lazify_v<bool, std::is_pointer, TypeExpr> {};
1718

18-
template <class T>
19-
struct lax_v1::remove_all_extents_m : lazify_t<std::remove_all_extents, T> {};
19+
template <class TypeExpr>
20+
struct lax_v1::remove_all_extents_m
21+
: lazify_t<std::remove_all_extents, TypeExpr> {};
2022

21-
template <class T>
22-
struct lax_v1::remove_pointer_m : lazify_t<std::remove_pointer, T> {};
23+
template <class TypeExpr>
24+
struct lax_v1::remove_pointer_m : lazify_t<std::remove_pointer, TypeExpr> {};

provides/include/lax_v1/type_traits_synopsis.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
namespace lax_v1 {
44

5-
template <class T> struct alignment_of_m;
5+
template <class TypeExpr> struct alignment_of_m;
66

7-
template <class T> struct is_array_m;
7+
template <class TypeExpr> struct is_array_m;
88

9-
template <class T> struct is_pointer_m;
9+
template <class TypeExpr> struct is_pointer_m;
1010

11-
template <class T> struct remove_all_extents_m;
11+
template <class TypeExpr> struct remove_all_extents_m;
1212

13-
template <class T> struct remove_pointer_m;
13+
template <class TypeExpr> struct remove_pointer_m;
1414

1515
} // namespace lax_v1

0 commit comments

Comments
 (0)