C++ Logo


Advanced search

Re: Enum Class Inheritance

From: Ivan Matek <libbooze_at_[hidden]>
Date: Thu, 2 Sep 2021 17:15:53 +0200
Hi, would using a std::variant help your usecase?
You would be defining a struct for every enum, and concatenation of types
is not trivial, but it may work.

On Wed, Sep 1, 2021 at 8:09 PM Murat Hepeyiler via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> I have faced up a problem that I need to extend the enum class for each
> system.

Received on 2021-09-02 10:16:06