[Issue 6571] typedefs ignore const, shared, immutable etc modifiers when implicitly converting

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 30 06:47:58 PST 2011


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


Trass3r <mrmocool at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrmocool at gmx.de


--- Comment #6 from Trass3r <mrmocool at gmx.de> 2011-12-30 06:47:54 PST ---
A related issue is if const is part of the typedef.

typedef const(void*) type;
void bar(void* a) {}
void main()
{
    type a;
    bar(&a);
}

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