#include <iostream> struct A { A() : i(2){} int i = 1; }; int main() { std::cout << A().i; }
1 or 2?
1
2
Which output is conforming to the C++11 standard?
Aucun commentaire:
Enregistrer un commentaire