|
Boost : |
Subject: Re: [boost] [yap] Review part 1: documentation
From: Zach Laine (whatwasthataddress_at_[hidden])
Date: 2018-02-13 20:52:47
On Tue, Feb 13, 2018 at 3:36 PM, Steven Watanabe via Boost <
boost_at_[hidden]> wrote:
> AMDG
>
> On 02/13/2018 01:29 PM, Zach Laine wrote:
> > On Tue, Feb 13, 2018 at 2:10 PM, Zach Laine <
> whatwasthataddress_at_[hidden]>
> > wrote:
> >
> >> <snip>
> >> 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*
> >
>
> If you can figure out a way to do it such that
> unwrapping is only applied for arguments that are
> *explicitly* intended to match terminals, then
> it would work. If you imagine the semantics being
> as if unwrapping the terminal were an implicit
> conversion, then it would probably work correctly
> in all cases. Unfortunately, I don't know how to
> implement this.
I don't know if it needs to be so fancy. I could just revert back to the
old behavior, which always unwraps terminals, but does not auto-apply
transforms.
Zach
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk