|
From: Florent R. <f.r...@fr...> - 2017-05-29 13:45:10
|
Hi, Since you seem to be discussing pimpl with std::unique_ptr, I wrote one here: https://sourceforge.net/u/frougon/flightgear-simgear/ci/embedded_resources/tree/simgear/embedded_resources/EmbeddedResourceManager.hxx https://sourceforge.net/u/frougon/flightgear-simgear/ci/embedded_resources/tree/simgear/embedded_resources/EmbeddedResourceManager.cxx https://sourceforge.net/u/frougon/flightgear-simgear/ci/embedded_resources/tree/simgear/embedded_resources/EmbeddedResourceManager_private.hxx I did verify that the instance is destroyed when FG exits. Maybe it's a good time to get comments on this implementation? :) (I can post a mail with a description of the whole system too, was/am waiting for the right moment...) Regards -- Florent |