C++ Logo

std-proposals

Advanced search

Re: Enum Class Inheritance

From: Ivan Matek <libbooze_at_[hidden]>
Date: Fri, 3 Sep 2021 20:37:12 +0200
On Thu, Sep 2, 2021 at 8:48 PM Murat Hepeyiler via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> To Ivan Matek,
> Thank you for your suggestion. But I cannot create an object, I have
> limited memory area. I have solved my problem like this,
>
Not sure exactly what you mean by limited memory area, but sizeof that
variant is 2 (I presume it could be optimized to 1 by smart
implementation... ).
https://godbolt.org/z/TeqsK14dY

Received on 2021-09-03 13:37:25