auto pSecure1 = Secure::CreateSecureObj(10); // OK auto pSecure2 = std::make_shared<Secure>(Secure::Key(), 10); // Error auto pSecure3 = newSecure(Secure::Key(), 10) // Error
auto pSecure1 = Secure::CreateSecureObj(10); // OK auto pSecure2 = std::make_shared<Secure>(Key<Secure>(), 10); // Error auto pSecure3 = newSecure(Key<Secure>(), 10); // Error