top | item 43793747

(no title)

LowLevelMahn | 10 months ago

not using a union: https://ojdip.net/2013/10/implementing-a-variant-type-in-cpp... because the union can't be extended with variadic template types

discuss

order

grandempire|10 months ago

So instead it has a buffer large enough to hold all the types? That’s what union does.

Still waiting to hear the security concerns.