I am curious if it is possible in c++ to "re-declare" a type under another name. For example, could you make some declaration of a type "MyVec" that is exactly the same as std::vector?
Inheritance almost works, but that is bound by the rules of inheritance so not all private members/methods will come along. I am referring to a carbon-copy declaration.
Aliasing won't work either, as I want these types to be viewed as separate by the static type system.