How to avoid inout type constructor with Optional type wrapper undoing string type

aliak something at something.com
Mon Jul 23 19:22:13 UTC 2018


On Monday, 23 July 2018 at 19:02:02 UTC, Jacob Carlborg wrote:
>
> This [1] compiles the first example but not the second.
>
> [1] https://run.dlang.io/is/SJ02kP

Aye it does, but it also sets T to always const which is 
unfortunately impractical for my use case :(



More information about the Digitalmars-d-learn mailing list