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:
@@ -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;
|
||||
|
||||
@@ -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> *>>;
|
||||
|
||||
Reference in New Issue
Block a user