On Thu, Sep 2, 2021 at 8:48 PM Murat Hepeyiler via Std-Proposals <std-proposals@lists.isocpp.org> 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