mardi 19 mars 2019

What does this void() do in C++?

I wrote this statement:

someFunction(a,b) ? funcThatReturnsVoid() : void();

What does the 'void()' that I wrote actually do? Is it a call to a special function? I kinda just wrote it hoping it would work and it did.

An answer with a reference would be much appreciated.

Aucun commentaire:

Enregistrer un commentaire