aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/function/detail/apply.h12
-rw-r--r--src/list/operation/contains.h2
-rw-r--r--src/list/operation/delete.h2
-rw-r--r--src/list/operation/higher/sort.h2
4 files changed, 9 insertions, 9 deletions
diff --git a/src/function/detail/apply.h b/src/function/detail/apply.h
index d9f058a..b4b70bf 100644
--- a/src/function/detail/apply.h
+++ b/src/function/detail/apply.h
@@ -47,7 +47,7 @@ template <
typename... Arguments
>
struct apply_none {
- using type = Function<Arguments...>;
+ using function = Function<Arguments...>;
};
template <
@@ -56,7 +56,7 @@ template <
>
struct apply_variadic {
template <typename... Partials>
- using type = Function<
+ using function = Function<
typename resolve_placeholder<
typename tav::List<Partials...>::type,
Arguments
@@ -70,10 +70,10 @@ template <
>
struct apply_single : apply_variadic<Function, Arguments...> {
template <typename Partial0>
- using type = typename apply_variadic<
+ using function = typename apply_variadic<
Function,
Arguments...
- >::template type<Partial0>;
+ >::template function<Partial0>;
};
template <
@@ -82,10 +82,10 @@ template <
>
struct apply_pair : apply_variadic<Function, Arguments...> {
template <typename Partial0, typename Partial1>
- using type = typename apply_variadic<
+ using function = typename apply_variadic<
Function,
Arguments...
- >::template type<Partial0, Partial1>;
+ >::template function<Partial0, Partial1>;
};
}
diff --git a/src/list/operation/contains.h b/src/list/operation/contains.h
index c58d6ac..fc70d78 100644
--- a/src/list/operation/contains.h
+++ b/src/list/operation/contains.h
@@ -12,7 +12,7 @@ template <
typename List
>
using Contains = Any<
- Apply<IsEqualValue, _0, Element>::template type,
+ Apply<IsEqualValue, _0, Element>::template function,
List
>;
diff --git a/src/list/operation/delete.h b/src/list/operation/delete.h
index 430336f..48f1137 100644
--- a/src/list/operation/delete.h
+++ b/src/list/operation/delete.h
@@ -12,7 +12,7 @@ template <
typename List
>
using Delete = Remove<
- Apply<IsEqualValue, _0, Element>::template type,
+ Apply<IsEqualValue, _0, Element>::template function,
List
>;
diff --git a/src/list/operation/higher/sort.h b/src/list/operation/higher/sort.h
index 5bc30c6..5a4009c 100644
--- a/src/list/operation/higher/sort.h
+++ b/src/list/operation/higher/sort.h
@@ -18,7 +18,7 @@ class Sort {
using pivot = typename Nth<index, Sequence>::type;
using partitions = typename Partition<
- Apply<Comparator, pivot, _0>::template type,
+ Apply<Comparator, pivot, _0>::template function,
typename DeleteNth<index, Sequence>::type
>::type;