« Return to Thread: boost::factory?

Re: boost::factory?

by Tobias Schwinger-2 :: Rate this Message:

Reply to Author | View in Thread

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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: boost::factory?