Boost logo

Boost :

Subject: Re: [boost] std::map::find() wrapper
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-05-24 06:53:25

On Thu, May 5, 2011 at 11:00 AM, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Thu, May 5, 2011 at 1:01 AM, Marsh Ray <marsh_at_[hidden]> wrote:
>> Thus, it is better to use optional<T or &> instead of pointers whenever it
>> supplies the required operations.
> When auto is available, the disadvantage of boost::optional is minimal.
> It's clear that some people really prefer boost::optional, so find_opt
> or find_optional could be provided as well.
> But again:
> To what Boost lib could this be added? Utility?



Boost list run by bdawes at, gregod at, cpdaniel at, john at