jeudi 29 octobre 2015

When are 'auto' and 'decltype' evaluated?

When are auto and decltype (for lack of a better word) "evaluated"? At runtime, or when the code is compiled?

If it is the former, does using them have any noticeable performance penalty compared to hard-coding the variable type?

Aucun commentaire:

Enregistrer un commentaire