refInt = ref int: how to achieve this? or is this a bug?

MoonlightSentinel moonlightsentinel at disroot.org
Wed Jun 17 22:15:08 UTC 2020


On Wednesday, 17 June 2020 at 22:09:35 UTC, mw wrote:
> and can you see the beauty of this symmetry?  :-)

Try

int main()
{
     typedef int* ptrInt;
     ptrInt arr;

     typedef int& refInt;
     refInt[] arr2;
}


More information about the Digitalmars-d mailing list