|
Boost : |
Subject: Re: [boost] [review] Review of Outcome v2 (Fri-19-Jan to Sun-28-Jan, 2018)
From: Peter Dimov (lists_at_[hidden])
Date: 2018-02-01 14:13:22
Gavin Lambert wrote:
> If you don't like the heap usage, the same concept applies if it returns
> an optional instead of a pointer (assuming it has a no-fail move).
That's a big assumption, because if you had a suitable nofail moved-from
state, you could just default-initialize to it and no factory or
private_init_stuff would have been necessary.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk