Even simpler, using "modern C++": std::unique_ptr<comm::datalayer::IProvider> dlProvider(datalayerSystem.factory()->createProvider(CTRLX_ADDRESS)); std::unique_ptr<comm::datalayer::IClient> dlClient(datalayerSystem.factory()->createClient(CTRLX_ADDRESS)); Beautiful.
... View more