Boost logo

Boost :

Subject: Re: [boost] std::map::find() wrapper
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-05-04 08:46:31


On Wed, May 4, 2011 at 2:28 PM, Robert Jones <robertgbjones_at_[hidden]> wrote:
>> Boost Optional is targeted at functions that return by value.
>>
>
> Is it? I'd always rather thought it targeted at functions that may not
> necessarily return a value at all.

Yes, see http://www.boost.org/doc/libs/1_46_1/libs/optional/doc/html/boost_optional/development.html

>
>>
>> What's the best way to get this wrapper into Boost?
>>
>
> In detail I don't know. I'm pretty sure you need SVN write access at some
> point, unless someone
> applies a patch for you. If it's more than a patch I guess review of your
> code is required too.

Could it be added to the Utility library? If not, to what library
could it be added?

Olaf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk