[Development] API style guide: scoped enum or not?

Marc Mutz marc.mutz at qt.io
Thu Jan 16 16:29:38 CET 2025


On 16.01.25 15:05, Thiago Macieira wrote:
> On Thursday 16 January 2025 04:55:56 Pacific Standard Time Marc Mutz via
> Development wrote:
>> https://gcc.godbolt.org/z/6exEonP5o, maybe?
> 
> Yes.

@Ville, @Peppe: do you happen to know whether this is supposed to work 
(using enum T when T is a typename from the template-initializer), or 
whether there's a proposal to make it work?

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at qt.io> (he/his)
Principal Software Engineer

The Qt Company
Erich-Thilo-Str. 10 12489
Berlin, Germany
www.qt.io

Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht Charlottenburg,
HRB 144331 B



More information about the Development mailing list