dimanche 6 décembre 2015

Guarantee on size ordering on char, wchar_t, char16_t, char32_t

Does the C++ standard provide any guarantee on the ordering of the size in bytes of char, wchar_t, char16_t, char32_t? (any extract from the standard is welcome)

For example do I have the guarantee that:

sizeof(char) <= sizeof(wchar_t) <= sizeof(char16_t) <= sizeof(char32_t)

Aucun commentaire:

Enregistrer un commentaire