lundi 27 mars 2017

What can be the practical use of constexpr in C++ [duplicate]

This question already has an answer here:

As they say, constexpr are the one which are evaluated at compile time but I don't see any good use case to explain this.

Could anyone please share any example which might help me to understand this ?

Aucun commentaire:

Enregistrer un commentaire