mardi 21 juillet 2015

What is this C++ C11 syntax: "= {}"?

I came across this syntax in a c++ file:

Obj obj = {};

What does it do? Does it just call the default constructor?

Aucun commentaire:

Enregistrer un commentaire