proposed @noreturn attribute

Guillaume Boucher via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 16 12:49:43 PDT 2017


On Sunday, 16 July 2017 at 12:41:06 UTC, Timon Gehr wrote:
> It is therefore most natural to say that Bottom.sizeof == ∞.

True, but size_t.max doesn't have the properties of ∞.
The only sane choice to me seems to be a value of type Bottom, 
i.e. is(typeof(Bottom.sizeof) == Bottom).



More information about the Digitalmars-d mailing list