2
0
mirror of https://github.com/boostorg/yap.git synced 2026-02-26 05:12:13 +00:00

Correct tempalte paramater confusion in the terminal specialization.

This commit is contained in:
Zach Laine
2016-11-24 17:50:05 -06:00
parent 78c511468f
commit 71755916e7
2 changed files with 3 additions and 3 deletions

View File

@@ -141,9 +141,9 @@ namespace boost::proto17 {
};
template <typename T>
struct expression<expr_kind::terminal, T>
struct expression<expr_kind::terminal, hana::tuple<T>>
{
using this_type = expression<expr_kind::terminal, T>;
using this_type = expression<expr_kind::terminal, hana::tuple<T>>;
using tuple_type = hana::tuple<T>;
static const expr_kind kind = expr_kind::terminal;

View File

@@ -67,7 +67,7 @@ namespace boost::proto17 {
struct expression;
template <typename T, template <expr_kind, class> class expr_template = expression>
using terminal = expr_template<expr_kind::terminal, T>;
using terminal = expr_template<expr_kind::terminal, hana::tuple<T>>;
template <typename T, template <expr_kind, class> class expr_template = expression>
using expression_ref = expr_template<expr_kind::expr_ref, hana::tuple<std::remove_reference_t<T> *>>;