mercredi 14 septembre 2016

Empty return statement in C++

What does the statement

return {};

in C++11 indicate, and when to use it instead of (say)

return NULL;

or

return nullptr;

Aucun commentaire:

Enregistrer un commentaire