On 2/21/2015 6:20 PM, Adam D. Ruppe wrote:
On Sunday, 22 February 2015 at 02:14:04 UTC, Walter Bright wrote:
With 'return ref', which is now implemented, you can create a memory safe
RefCounted type. However, nobody has bothered. Are you up for it? :-)
wait what? These things should be on the changelog! You can't really complain
that people haven't bothered using a secret feature that 1) doesn't seem to be
out of beta yet and 2) isn't listed as a new thing here
http://dlang.org/changelog.html
It's new in 2.067, which is out in beta. It implements DIP25.
http://wiki.dlang.org/DIP25