float init 0 request

Nick Treleaven nick at geany.org
Sun Aug 23 10:02:22 UTC 2026


On Saturday, 22 August 2026 at 13:14:54 UTC, Mindy Batek (0xEAB) 
wrote:
> On Saturday, 22 August 2026 at 09:37:46 UTC, Nick Treleaven 
> wrote:
>> Can't you just declare the node type instead:
>> ```d
>> const(Node)* next = this.next;
>> ```
>
> The node type is an `abstract class` in my case, i.e. a pointer 
> already.

Then use `Rebindable!(const Node)`.

https://dlang.org/phobos/std_typecons.html#Rebindable


More information about the Digitalmars-d mailing list