diff options
author | Adrian Kummerlaender | 2015-02-12 13:36:27 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-02-12 13:36:27 +0100 |
commit | 4bb200de716891ed6c9fc182311c02685c8bdfd4 (patch) | |
tree | 2f3028ac8023ab588a3f074b8875d1eeecf1ea5c /test.cc | |
parent | ad27a79a2e6bc380e68ec77ae961917a9fb402d3 (diff) | |
download | TypeAsValue-4bb200de716891ed6c9fc182311c02685c8bdfd4.tar TypeAsValue-4bb200de716891ed6c9fc182311c02685c8bdfd4.tar.gz TypeAsValue-4bb200de716891ed6c9fc182311c02685c8bdfd4.tar.bz2 TypeAsValue-4bb200de716891ed6c9fc182311c02685c8bdfd4.tar.lz TypeAsValue-4bb200de716891ed6c9fc182311c02685c8bdfd4.tar.xz TypeAsValue-4bb200de716891ed6c9fc182311c02685c8bdfd4.tar.zst TypeAsValue-4bb200de716891ed6c9fc182311c02685c8bdfd4.zip |
Added `Is` prefix to `EqualValue` and `EqualType`
* analogously to `IsPair`
Diffstat (limited to 'test.cc')
-rw-r--r-- | test.cc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -30,23 +30,23 @@ int main(int, char **) { } static_assert( std::is_same< tav::Boolean<true>, - tav::EqualType<tav::Int<1>, tav::Int<2>> + tav::IsEqualType<tav::Int<1>, tav::Int<2>> >::value, - "(EqualType 1 2) != #t" + "(IsEqualType 1 2) != #t" ); static_assert( std::is_same< tav::Boolean<false>, - tav::EqualType<tav::Int<1>, tav::Size<1>> + tav::IsEqualType<tav::Int<1>, tav::Size<1>> >::value, - "(EqualType (int 1) (size 2)) != #f" + "(IsEqualType (int 1) (size 2)) != #f" ); static_assert( std::is_same< tav::Boolean<true>, - tav::EqualValue<tav::Int<1>, tav::Size<1>> + tav::IsEqualValue<tav::Int<1>, tav::Size<1>> >::value, "(equal? (int 1) (size 1)) != #t" ); @@ -54,7 +54,7 @@ static_assert( static_assert( std::is_same< tav::Boolean<false>, - tav::EqualValue<tav::Int<1>, tav::Int<2>> + tav::IsEqualValue<tav::Int<1>, tav::Int<2>> >::value, "(equal? 1 2) != #f" ); |