Consider this code:
struct foo {/* stuff */}; template <typename T> using bar = foo; // Elsewhere bar<int> A; auto &B = static_cast<foo&>(A);
Is using B legal?
B
Aucun commentaire:
Enregistrer un commentaire