Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-12-21 19:14:38


shunsuke wrote:
> John Torjo wrote:
>> Hi all,
>>
>> I've extended the review until Sunday (inclusive). I'm hoping for more reviews. So far, we've had only two.
>> If you are interested in the library (you should be :)), please take some time to review it. This
>> is the info you need to do a review on:
>>
>> *Description*
>>
>> Factories are callback mechanisms for constructors, so we provide two
>> function objects, boost::value_factory and boost::factory, that
>> encasulate object construction through direct application of the
>> constructor or operator new, respectively. These templates make other
>> facilities that operate on function objects (such as standard
>> algorithms, Boost.Bind, Boost.Function, or Fusion functional adapters)
>> applicable to constructors.
>
> Is there any difference to lambda::constructor/new_ptr?

Yes, those components are designed to only work with the Lambda library.
Functional/Factory OTOH provides standard compliant (they work with
result_of and the libraries built upon it) function objects.

Regards,
Tobias


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