Optional type - how to correctly reset a wrapped immutable T

Simen Kjærås simen.kjaras at gmail.com
Mon Mar 26 10:13:08 UTC 2018


On Monday, 26 March 2018 at 09:46:57 UTC, Nicholas Wilson wrote:
> Have a look at Rebindable: 
> https://dlang.org/phobos/std_typecons.html#rebindable

Allow me to quote from aliak's post:

> what I'm looking for is a Rebindable implementation that's for 
> value types

As can be surmised from the above line, aliak has looked at 
Rebindable, and it doesn't work with value types.

--
   Simen


More information about the Digitalmars-d-learn mailing list