Range Redesign: Copy Semantics

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Sun Jan 21 13:26:16 UTC 2024


On Sunday, 21 January 2024 at 10:58:32 UTC, Jonathan M Davis 
wrote:
> On Sunday, January 21, 2024 3:36:37 AM MST Per Nordlöw via 
> Digitalmars-d wrote:
>> On Sunday, 21 January 2024 at 05:00:31 UTC, Jonathan M Davis
>>
>> wrote:
>> > I've been thinking about this for a while now, but with the 
>> > ...
>>
>> Shall
>>
>> - `Nullable.opCast` to `bool`
>> - `Nullable.opUnary` `*`
>>
>> be added to Phobos' `std.typecons`?
>
> Maybe. It probably should be, though I don't know how many 
> changes like that we're going to do to the current version of 
> Phobos.

Imho, it must not be added, as this might conflate with contents 
of `Nullable!bool` types.


More information about the Digitalmars-d mailing list