[Issue 8486] Possibly wrong interaction of Variant and const arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 1 13:08:11 PDT 2012


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



--- Comment #4 from klickverbot <code at klickverbot.at> 2012-08-01 13:08:10 PDT ---
I meant that Variant should regard e.g. const(T[]) and const(T)[] or const(T*)
and const(T)* equivalent, i.e. allow implicit conversion between them.

The fact that const is automatically stripped from arrays is not
Variant-specific, template functions generally work like that in D.

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