[Issue 6606] RefCounted doesn't work with unions due to use of format

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 5 17:36:36 PDT 2011


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



--- Comment #1 from David Simcha <dsimcha at yahoo.com> 2011-09-05 17:36:26 PDT ---
Actually, it's a problem with Tuple or format, depending on how you look at it.
 This doesn't work either, for basically the same reason:

import std.typecons;

union U {
    size_t i;
    void* p;
}

alias Tuple!U T;

-- 
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