Range Redesign: Empty Ranges

Jonathan M Davis newsgroup.d at jmdavisprog.com
Thu Mar 7 09:31:05 UTC 2024


On Thursday, March 7, 2024 2:11:29 AM MST Atila Neves via Digitalmars-d wrote:
> Of course! I write classes so seldom I forget my own rule to add
> `final` unless I can't.
>
> That would severely restrict class ranges though, since
> presumably the whole point is to have dynamic dispatch.

The solution that I'm currently planning to go with is to wrap them:

https://forum.dlang.org/post/mailman.1091.1709755456.3719.digitalmars-d@puremagic.com

- Jonathan M Davis





More information about the Digitalmars-d mailing list