|
Boost : |
Subject: Re: [boost] [outcome] expected<T&>, result<T&>
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-25 22:01:47
Gottlob Frege wrote:
> Some committee members want references to work one way, some want it to
> work another, ...
More specifically, some want in
T t1, t2;
expected<T&> e1( t1 ), e2( t2 );
e1 = e2;
t1 to be assigned t2, whereas others want e1 to start pointing to t2.
Similarly for e1 = t2.
> so we should *never* support references.
Sounds like a good plan to me.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk