aboutsummaryrefslogtreecommitdiff
path: root/src/function
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-02-13 21:54:48 +0100
committerAdrian Kummerlaender2015-02-13 21:54:48 +0100
commit73680466149c7aad21de558b7acc11dfa05183d2 (patch)
treec8ef1679a4688ac137d695a8e89fdb1d71595a02 /src/function
parent9769b8fe1956b080c1f249f8c17862c0b5f5e4ef (diff)
downloadTypeAsValue-73680466149c7aad21de558b7acc11dfa05183d2.tar
TypeAsValue-73680466149c7aad21de558b7acc11dfa05183d2.tar.gz
TypeAsValue-73680466149c7aad21de558b7acc11dfa05183d2.tar.bz2
TypeAsValue-73680466149c7aad21de558b7acc11dfa05183d2.tar.lz
TypeAsValue-73680466149c7aad21de558b7acc11dfa05183d2.tar.xz
TypeAsValue-73680466149c7aad21de558b7acc11dfa05183d2.tar.zst
TypeAsValue-73680466149c7aad21de558b7acc11dfa05183d2.zip
Renamed `Apply`'s template alias to `function`
* `type` is used to represent evaluation of a template * accessing the `function` doesn't evaluate it as it is the template itself
Diffstat (limited to 'src/function')
-rw-r--r--src/function/detail/apply.h12
1 files changed, 6 insertions, 6 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>;
};
}