diff options
author | Adrian Kummerlaender | 2015-02-13 21:54:48 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-02-13 21:54:48 +0100 |
commit | 73680466149c7aad21de558b7acc11dfa05183d2 (patch) | |
tree | c8ef1679a4688ac137d695a8e89fdb1d71595a02 /test.cc | |
parent | 9769b8fe1956b080c1f249f8c17862c0b5f5e4ef (diff) | |
download | TypeAsValue-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.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" ); |