C++ Logo

std-proposals

Advanced search

Re: [std-proposals] lambdas in enums

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Fri, 14 Mar 2025 11:43:17 +0100
> All of them could be the same or different. I do not understand. Is C or D valid? Do both data types have to be stored? What is sizeof(E)? -----Ursprüngliche Nachricht----- Von:Filip <fph2137_at_[hidden]> Gesendet:Fr 14.03.2025 11:21 Betreff:Re: [std-proposals] lambdas in enums An:std-proposals_at_[hidden]; CC:Sebastian Wittmeier <wittmeier_at_[hidden]>; std-proposals_at_[hidden]; 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. Cheers, Filip

Received on 2025-03-14 10:48:25