DIP1000: Scoped Pointers (Discussion)

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 12 03:49:49 PDT 2016


On 8/12/2016 3:24 AM, Robert burner Schadek wrote:
> ? I need to pay log n twice to assign two members


In order to return a pointer that lasts longer than an expression, make it a ref 
counted entity as well.


More information about the Digitalmars-d mailing list