Subject: Re: [boost] [yap] Review
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-02-13 18:51:47
On 02/13/2018 09:47 AM, Zach Laine via Boost wrote:
> On Tue, Feb 13, 2018 at 11:30 AM, Steven Watanabe via Boost <
> boost_at_[hidden]> wrote:
>> On 02/12/2018 06:57 PM, Zach Laine via Boost wrote:
>>> On Mon, Feb 12, 2018 at 4:15 PM, P F via Boost <boost_at_[hidden]>
>>>> You could also get rid of the need for `::user_expr`
>>> We actually want that. It's often necessary to be able to return an
>>> expression created from some template different than the template
>>> he operator.
>> If that's really important then why doesn't
>> BOOST_YAP_USER_FREE_BINARY_OPERATOR take two
>> expr_template parameters?
> Because there's only one result. The expr_template parameter governs how
> the result is constructed, not which inputs are accepted.
Doesn't this make BOOST_YAP_USER_FREE_BINARY_OPERATOR
unusable, since expression already uses it, so using it
again with a different ExpressionTemplate would be ambiguous?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk