aboutsummaryrefslogtreecommitdiff
path: root/test.cc
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-02-13 21:54:48 +0100
committerAdrian Kummerlaender2015-02-13 21:54:48 +0100
commit73680466149c7aad21de558b7acc11dfa05183d2 (patch)
treec8ef1679a4688ac137d695a8e89fdb1d71595a02 /test.cc
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 'test.cc')
-rw-r--r--test.cc6
1 files changed, 3 insertions, 3 deletions
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<0>, 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"
);