diff options
author | Adrian Kummerlaender | 2015-02-16 14:03:53 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-02-16 14:03:53 +0100 |
commit | 324988569183e38e9c5e42318571693a6fcd9569 (patch) | |
tree | ca47de290dc9b6ee1d1f771fb473c1f604e67189 /test.cc | |
parent | a59df7e8c4fd1f88bc1078ebcfde944502b0c309 (diff) | |
download | TypeAsValue-324988569183e38e9c5e42318571693a6fcd9569.tar TypeAsValue-324988569183e38e9c5e42318571693a6fcd9569.tar.gz TypeAsValue-324988569183e38e9c5e42318571693a6fcd9569.tar.bz2 TypeAsValue-324988569183e38e9c5e42318571693a6fcd9569.tar.lz TypeAsValue-324988569183e38e9c5e42318571693a6fcd9569.tar.xz TypeAsValue-324988569183e38e9c5e42318571693a6fcd9569.tar.zst TypeAsValue-324988569183e38e9c5e42318571693a6fcd9569.zip |
Simplified `List`, `Length` and `Reverse` implementations
* continuation of 8e49cc6
* list constructor was generalized to a _variadic fold_
Diffstat (limited to 'test.cc')
-rw-r--r-- | test.cc | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -323,14 +323,6 @@ static_assert( static_assert( std::is_same< - tav::Pair<tav::Int<1>, tav::Pair<tav::Int<2>, void>>, - tav::List<void, tav::Int<1>, void, tav::Int<2>, void> - >::value, - "(list void 1 void 2 void) != '(1 . 2)" -); - -static_assert( - std::is_same< tav::Int<1>, tav::Head< tav::List<tav::Int<1>, tav::Int<2>, tav::Int<3>> |