On Wednesday, 10 April 2013 at 12:46:28 UTC, Jacob Carlborg wrote:
I often want reference types, but not necessarily polymorphic types.

What I want:

* Heap GC allocated
* Be able to store references

What I don't want:

* Pointers (don't guarantee heap allocated)
* ref parameters (can't store the reference)
* Implement reference counting

I find this more of an issue with "ref" being a second-class citizen instead of proper type qualifier.

Reply via email to