[Issue 4978] Can't get object out of Rebindable: get is private

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 2 18:14:27 PDT 2010


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



--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2010-10-02 18:14:08 PDT ---
Also, the static ifs at the top are missing any kind of get, so you can't use
get generically with Rebindable. Perhaps what should be done instead is to have
on opCast() which casts to the original. That would work with the first static
if - and obviously the struct in the else - but I'm not sure that it would work
with the second one since it's const when the original could have been
immutable. It is a potential concern though.

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