2
0
mirror of https://github.com/boostorg/yap.git synced 2026-02-22 03:52:18 +00:00

Swap order of template params to terminal<> and expression_ref<> aliases to match the convention of the rest of the library.

This commit is contained in:
Zach Laine
2016-12-05 18:26:52 -06:00
parent e576849544
commit 5d539bbb81
36 changed files with 384 additions and 315 deletions

View File

@@ -7,7 +7,10 @@
template <typename T>
using term = boost::yap::terminal<T>;
using term = boost::yap::terminal<boost::yap::expression, T>;
template <typename T>
using ref = boost::yap::expression_ref<boost::yap::expression, T>;
namespace yap = boost::yap;
namespace bh = boost::hana;
@@ -171,7 +174,7 @@ TEST(call_expr, test_call_expr)
yap::expression<
yap::expr_kind::call,
bh::tuple<
yap::expression_ref<term<decltype(min_lambda)>& >,
ref<term<decltype(min_lambda)>& >,
term<int>,
term<int>
>
@@ -200,7 +203,7 @@ TEST(call_expr, test_call_expr)
yap::expression<
yap::expr_kind::call,
bh::tuple<
yap::expression_ref<term<user::tag_type>& >,
ref<term<user::tag_type>& >,
term<int>,
term<int>
>