The NaN of types (in D)

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Oct 12 08:52:22 UTC 2020


On Monday, 12 October 2020 at 06:41:26 UTC, Imperatorn wrote:
> The empty type cannot be a return type

It can be a return type, but you probably meant that a function 
with a bottom type as a return value does to return normally.

A function that always returns by exception would have a bottom 
type as the return type.



More information about the Digitalmars-d mailing list