From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-06-18 07:02:05


Mathias Gaunard wrote:
> Tobias Schwinger wrote:
>> Dear Boost community,
>>
>> do we have a function object template to wrap arbitrary constructor
>> calls / operator new expressions somewhere in Boost, already?
>
> Yes, it's in_place.

Well, that's not quite the same: The in_place stuff deals with in-place
construction (hence the name), which is a different pair of shoes.

It's not applicable to the use cases outlined in my previous post, since
it doesn't (and probably wouldn't make sense to) provide a function
object interface (since it has to know the memory location where the
object should be constructed).

Regards,
Tobias