[Issue 5057] std.variant.Algebraic-aware GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 15 09:05:05 PDT 2010


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


nfxjfg at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nfxjfg at gmail.com


--- Comment #1 from nfxjfg at gmail.com 2010-10-15 09:04:26 PDT ---
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;
}

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


More information about the Digitalmars-d-bugs mailing list