http://d.puremagic.com/issues/show_bug.cgi?id=5057



--- Comment #2 from bearophile_h...@eml.cc 2010-10-15 09:35:53 PDT ---
(In reply to comment #1)
> The simplest way to implement this is not using that union trick and store all
> data in a templated class like this:
> 
> class VariantStorage(T) {
>   T data;
> }

I don't see how a class may replace an union.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to