|
Boost : |
Subject: Re: [boost] [outcome v2] Please comment on new result<T, EC> reference API docs
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2017-06-23 07:07:00
On Thu, Jun 22, 2017 at 9:18 PM, degski via Boost <boost_at_[hidden]>
wrote:
> On 23 June 2017 at 03:25, Peter Dimov via Boost <boost_at_[hidden]>
> wrote:
>
> > For one, vector functions that grow the size typically return void. So
> you
> > could just turn that into bool or an enum and you'd be done.
> >
>
> Maybe pop_back() could be made to return the popped element instead of
> void.
>
You'd be paying for a move you didn't want to buy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk