[Issue 10231] Spec: Document alias value feature

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 1 14:37:19 PDT 2013


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



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-06-01 14:37:18 PDT ---
(In reply to comment #1)
> By the way, it seems it does not support implicit type conversions.

For that I think I'd like this enhancement to work:

-----
struct X(alias T x, T : int)
{
}

void main()
{
    short i;
    alias X!i IVal;
}
-----

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