Commit a62da779 authored by Dominik Charousset's avatar Dominik Charousset

Fix metaprogramming test

parent 4a249b84
...@@ -35,11 +35,11 @@ int main() { ...@@ -35,11 +35,11 @@ int main() {
using if3 = type_list<replies_to<int, double>::with<void>>; using if3 = type_list<replies_to<int, double>::with<void>>;
using if4 = type_list<replies_to<int>::with<skip_message_t>, using if4 = type_list<replies_to<int>::with<skip_message_t>,
replies_to<int, double>::with<void>>; replies_to<int, double>::with<void>>;
CAF_CHECK((ctm<if1, if2>::value)); CAF_CHECK((ctm<if1, if2>::value) == -1);
CAF_CHECK((! ctm<if1, if3>::value)); CAF_CHECK((ctm<if1, if3>::value) != -1);
CAF_CHECK((! ctm<if2, if3>::value)); CAF_CHECK((ctm<if2, if3>::value) != -1);
CAF_CHECK((ctm<if1, if4>::value)); CAF_CHECK((ctm<if1, if4>::value) == -1);
CAF_CHECK((ctm<if2, if4>::value)); CAF_CHECK((ctm<if2, if4>::value) == -1);
using l1 = type_list<int, float, std::string>; using l1 = type_list<int, float, std::string>;
using r1 = typename tl_reverse<l1>::type; using r1 = typename tl_reverse<l1>::type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment