aboutsummaryrefslogtreecommitdiff
path: root/src/list
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/list
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/list')
-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
3 files changed, 3 insertions, 3 deletions
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;