From 73680466149c7aad21de558b7acc11dfa05183d2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 13 Feb 2015 21:54:48 +0100 Subject: 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 --- src/list/operation/contains.h | 2 +- src/list/operation/delete.h | 2 +- src/list/operation/higher/sort.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/list') 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::template type, + Apply::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::template type, + Apply::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::type; using partitions = typename Partition< - Apply::template type, + Apply::template function, typename DeleteNth::type >::type; -- cgit v1.2.3