Subject: Re: [boost] std::map::find() wrapper
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-05-05 10:19:50
On Thu, May 5, 2011 at 1:57 PM, Robert Jones <robertgbjones_at_[hidden]> wrote:
> Surely this could be used as an argument for pointers instead of optionals
> for every use of optional. Efficiency
No it can't. Boost Optional is necessary (and designed) for optional
values returned by value.
> taken to this extent seems like the wrong choice - surely we should write
> for clarity first and efficiency second,
> iff measurement suggests it's a problem.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk