mercredi 1 novembre 2017

Is the default return type in C++11 long?

I'm using CLion 2017.2.3 and there is an error by its Intellisense saying Return type of function 'func' differs... (Image attached below). Isn't the default return type in C++ int? And why is the IDE showing it as an error? Is it a bug?

enter image description here

Aucun commentaire:

Enregistrer un commentaire