std.variant Is Everything Cool About D

Meta jared771 at gmail.com
Thu Apr 5 13:04:42 UTC 2018


On Wednesday, 4 April 2018 at 11:40:58 UTC, Steven Schveighoffer 
wrote:
> On 4/3/18 11:29 PM, Meta wrote:
>> Also, with Nullable your data is guaranteed to not be boxed, 
>> whereas it's a possibility with Variant/Algebraic if the types 
>> you're working with are large enough.
>
> Not with Algebraic.
>
> -Steve

Ah yes, you're right. Thanks Steven. This exact thing came up in 
the Reddit thread from a few days ago.


More information about the Digitalmars-d-announce mailing list