Boost logo

Boost :

From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-04-03 17:44:57

Hello Tobias,

Tuesday, April 3, 2007, 9:02:45 PM, you wrote:

> Hi,

> in_place_factory can be quite useful, as I found out recently. However,
> here are some suggestions to make it event better:

> 1. add a construction mechanism for arrays

> 2. add a note to the docs about deduction and using boost::ref

> 3. have the static 'apply' member function return the pointer to the
> constructed object - just like the placement new operator

> 4. use file iteration instead of BOOST_PP_REPEAT for maintainability

If I may, I'd like to add:

5. add in_place_factory and typed_in_place_factory for zero
constructor arguments. I remember someone mentioned this before, but I
can't remember any one answered.

Best regards,
 Andrey                            mailto:andysem_at_[hidden]

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