Sujet : Re: C23 enums
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 18. Jun 2024, 08:00:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4rbaa$17q05$1@dont-email.me>
References : 1
User-Agent : Pan/0.158 (Avdiivka; )
On Sat, 15 Jun 2024 06:04:58 -0300, Thiago Adams wrote:
I realized we can have "private" enums in C23, because they are
completed types. Values of E does not need to be at header file.
enum E : int;
struct X{
enum E e;
};
What would be the point of this?