sigmaN 0 19 августа, 2018 Опубликовано 19 августа, 2018 · Жалоба From Standard C++ 7.2/5: The underlying type of an enumeration is an integral type that can represent all the enumerator values defined in the enumeration. It is implementation-defined which integral type is used as the underlying type for an enumeration except that the underlying type shall not be larger than int unless the value of an enu- merator cannot fit in an int or unsigned int. If the enumerator-list is empty, the underlying type is as if the enumeration had a single enumerator with value 0. The value of sizeof() applied to an enu- meration type, an object of enumeration type, or an enumerator, is the value of sizeof() applied to the underlying type. Цитата Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты Поделиться
DASM 0 19 августа, 2018 Опубликовано 19 августа, 2018 · Жалоба Да ладно, фиг с ним. Цитата Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты Поделиться