Subject: Re: [boost] [yap] Review part 1: documentation
From: Zach Laine (whatwasthataddress_at_[hidden])
Date: 2018-02-13 20:29:06
On Tue, Feb 13, 2018 at 2:10 PM, Zach Laine <whatwasthataddress_at_[hidden]>
> On Tue, Feb 13, 2018 at 1:30 PM, Steven Watanabe via Boost <
> boost_at_[hidden]> wrote:
> Actually, the code I posted fails to compile (even after
>> fixing the obvious typos) because the recursion makes
>> it impossible for auto to deduce the return type.
> Right, and although this saves the user from runtime infinite recursion,
> it is a very obscure failure mode. This more than outweighs the
> convenience of the current interface. I'm convinced the auto-evaluating,
> and in fact all terminal unwrapping in tag-transforms, should be removed.
Actually, I take this back, at least partially -- I think auto-unwrapping
in some form might still be useful without auto-applying the transform.
I'll need to experiment with that a bit. *TODO*