
10 Aug
2007
10 Aug
'07
1:21 p.m.
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