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 --- test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test.cc') diff --git a/test.cc b/test.cc index db19889..11b870f 100644 --- a/test.cc +++ b/test.cc @@ -1024,7 +1024,7 @@ static_assert( tav::Multiply, tav::Int<21>, tav::_0 - >::type< + >::function< tav::Int<2> >::type >::value, @@ -1039,7 +1039,7 @@ static_assert( tav::Add, tav::_0, tav::Int<10> - >::type, + >::function, tav::List, tav::Int<2>, tav::Int<4>>::type >::type >::value, @@ -1053,7 +1053,7 @@ static_assert( tav::Multiply, tav::Int<21>, tav::Int<2> - >::type::type + >::function::type >::value, "(* 21 2) != 42" ); -- cgit v1.2.3