Why writeln can't be converted to nothrow with just catching of StdioException

Basile B. b2.temp at gmx.com
Mon Feb 21 12:10:08 UTC 2022


On Monday, 21 February 2022 at 11:12:38 UTC, partypooper wrote:
> On Monday, 21 February 2022 at 11:07:55 UTC, Basile B. wrote:
>> Yeah there must be another one then. Something actionnable is 
>> the documentation.
>
> What about Mike Parker answer?

if nothrow fails that's because things are checked. We could 
imagine a second flow analysis leading to better error messages. 
You see, instead of the generic error message you get now.

"If it fails, let's see why"


More information about the Digitalmars-d-learn mailing list