Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-04-03 13:02:45


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

Regards,
Tobias


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