Why is following code legal in C++?
bool a(false);
? I mean, the T a(VALUE)
should call constructor right (let's suppose it's not parsed as function declaration)? But boolean is plain type, it doesn't have constructor. Or does it?
I'm using Visual Studio 2012 if it's relevant.
Aucun commentaire:
Enregistrer un commentaire