mercredi 11 mars 2015

smallest unsigned int that can contain the positive values of a given signed integral?

Can the smallest unsigned int that can contain the positive values of a given signed integral type be determined at compile time?


So the smallest unsigned integral type that is large enough to hold the max value of a given signed integral type.


Aucun commentaire:

Enregistrer un commentaire