Boost logo

Boost :

Subject: Re: [boost] Review Request : Boost.Range Extension
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-06-01 10:20:48


Akira Takahashi wrote:
> Features:
<snip>
> - Extensions for using Lambda (regular function, regular operator)
<snip>

I took a look at the implementation of `regular` and found that
it is implemented using `shared_pointer`.

What are the pros and cons of the `shared_pointer`-based implementation
compared to an obvious `optional`-based implementation?

Regards,
Michel


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