Implementation impl; | |
Interface1* i1 = &impl; | |
std::unique_ptr<Interface1> c1 = i1->clone(); | |
Interface2* i2 = &impl; | |
std::unique_ptr<Interface2> c2 = i2->clone(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment