`ref T` should be a type!!

Walter Bright newshound2 at digitalmars.com
Mon Apr 1 00:18:40 UTC 2019


On 3/29/2019 12:55 PM, Rubn wrote:
> You can't have reference variables in D, and I doubt walter will allow them. It 
> doesn't make much sense to have a type that allows ref if you can't declare a 
> variable with it.

You can't declare a pointer to a ref in C++, either. It's not a real type.


More information about the Digitalmars-d mailing list