On Tue, Feb 13, 2018 at 2:10 PM, Zach Laine
On Tue, Feb 13, 2018 at 1:30 PM, Steven Watanabe via Boost < boost@lists.boost.org> wrote:
[snip]
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* Zach