« Return to Thread: boost::factory?

Re: boost::factory?

by Mathias Gaunard :: Rate this Message:

Reply to Author | View in Thread

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.
Used by optional, for example.

For some reason though it seems there is no definition for default
constructors, but that can be added trivially.

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

 « Return to Thread: boost::factory?