From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-08-10 09:21:22


Loïc Joly wrote:
> In my case, the class can also accept an argument in its constructor,
> therefore I used :
> myInstanceTemplateDocument =
> boost::in_place<xmlpp::Document>(Glib::ustring("1.0"));
> and it worked, but I'd like to know if I missed something, of if it's a
> shortcomming of nullary in_place_factories.

Yes, nullary in-place factories are missing in Boost 1.34. Fixed in the
SVN version (the one that will be in Boost 1.35).

Regards,
Tobias