Do you want to allow

 

enum class E : int, int, int, int, int {
 

-----Ursprüngliche Nachricht-----
Von: Filip <fph2137@gmail.com>
Gesendet: Fr 14.03.2025 11:21
Betreff: Re: [std-proposals] lambdas in enums
An: std-proposals@lists.isocpp.org;
CC: Sebastian Wittmeier <wittmeier@projectalpha.org>; std-proposals@lists.isocpp.org;
C would be { 4, 0.0f }
D would be { 5, 0.5f }
 
We should probably not break the current functionality of storing the same value many times.
All of them could be the same or different.