[Issue 2416] Slice of typedef'ed array should preserve the typedef'ed type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 25 05:13:58 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2416
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
Keywords| |rejects-valid
------- Comment #2 from smjg at iname.com 2008-10-25 07:13 -------
That's true of operator overloads defined by the programmer. This, OTOH, is a
built-in operation on a built-in type form. Therefore the code is valid, just
like
typedef int Value;
Value a, b, c;
...
a = b + c;
--
More information about the Digitalmars-d-bugs
mailing list