3 Apr
2016
3 Apr
'16
11:39 a.m.
On 04/02/2016 08:08 AM, Andrey Semashev wrote: [snip]
union function_buffer { mutable function_buffer_members m; mutable char data[sizeof(function_buffer_members)]; };
This would require more modifications to the code though.
(Sigh... if only we could inherit unions...)
Could you provide an example of how you'd like to inherit unions? I'm guessing: union function_buffer : supertype_1 , supertype_2 ... , supertype_N { }; where all of the supertype_I's would occupy the same storage?