class Q_DECL_EXPORT SmiModuleTypes{ struct Types;private: std::vector<std::unique_ptr<Types>> mTypes;};
class Q_DECL_EXPORT SmiModuleTypes{ struct Types;private: std::unique_ptr<Types> mDump; ///!!!!!!!!!!!!!!!! std::vector<std::unique_ptr<Types>> mTypes;};
C++ (Qt)SmiModuleTypes { ~SmiModuleTypes();};SmiModuleTypes::~SmiModuleTypes() = default;
private: Types * mDummy; // to make MSVC happy std::vector<std::unique_ptr<Types>> mTypes;};
#include <vector>#include <memory> int main(){ struct type{}; using container = std::vector< std::unique_ptr<type> >; container s1; container s2 = s1;}