dimanche 26 juillet 2020

Why the `using` keyword cannot be used for static class member?

using makes an identifier to be visible in the global scope, but why cannot be used for static class member?

For example using std::string::size_type; is wrong. Why?

Aucun commentaire:

Enregistrer un commentaire