What if D would require * for reference types?

Trass3r un at known.com
Mon Jan 18 10:08:57 PST 2010


> How is that confusing to people with a C background?
>

Foo* foo = new Foo;

would make people think foo is a pointer to an instance of Foo, not a  
reference.
Furthermore it would be inconsistent with normal pointers (int*, ...)



More information about the Digitalmars-d mailing list