digitalmars.D.bugs - Possible bug with dereference operator + arrays
- "Jarrett Billingsley" <kb3ctd2 yahoo.com> Feb 14 2007
The implicit T -> T* conversion disappeared, but there may still be vestiges. You can still dereference an array to get the first element: int a = [1, 2]; writefln(*a); This is mostly a problem with determining if a type is an array type or a pointer type, since is(typeof(*T)) will return true if T is an int or if it's an int*.
Feb 14 2007