samedi 25 novembre 2017

Why is this a valid function declaration in C++?

Foo x(Bar());

I can write in inside another function and it compiles. Why? Also how a function declaration can get a temporary object in it's signature?

Aucun commentaire:

Enregistrer un commentaire