Liste des Groupes | Revenir à cl c |
Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:I also notice that overflow is not an error for unsigned .
Thiago Adams wrote:...Some of the multi-byte conversion functions (like mbrtowc) return eitherHow about this one?>
>
unsigned int u2 = -2;
Does it makes sense? Maybe a warning here?
I cannot think of any situations where that would make sense, but i also
cannot guarantee that there are not any.
(size_t)-1 or (size_t)-2 to indicate different kinds of failure so it's
not inconceivable that someone might write
size_t processed_but_incomplete = -2;
Les messages affichés proviennent d'usenet.