23 Jun
2017
23 Jun
'17
7:07 a.m.
On Thu, Jun 22, 2017 at 9:18 PM, degski via Boost
On 23 June 2017 at 03:25, Peter Dimov via Boost
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.