PhobosV3+ Fundamental Elements

monkyyy crazymonkyyy at gmail.com
Thu Aug 27 23:55:27 UTC 2026


On Thursday, 27 August 2026 at 22:39:04 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> 
> The current thinking would suggest that a new default root 
> class should appear similar to:
>
> ```d
> class RootClass : void {
> 	// No monitor
> 	void toString(scope StringBuilder) scope const {}
> 	ulong toHash() const => 0
> 	int opCmp(scope const RootClass) scope const => 0;
> }
> ```
>
> But it won't be the only root class, PhobosV3+ will have more 
> than just this one.

will structs be able to swap to a different rootclass?



More information about the Digitalmars-d mailing list