vendredi 29 janvier 2016

What are unevaluated contexts in C++?

One example that frequently comes to mind is :

sizeof expression, where it doesn't evaluates the expression but determines the size by static type. For example :

int func();
sizeof(func());

This is my limit of thinking, so if there are other unevaluated contexts, then what are they?

Aucun commentaire:

Enregistrer un commentaire