Thoughts about exception reporting

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 3 16:51:10 PST 2017


On Fri, 03 Feb 2017 19:50:19 +0000, pineapple wrote:
> - nothrow might be repurposed to mean "doesn't throw recoverable
> exceptions", and it not forbid throwing objects that inherit from Error.

That's what it means today:

  void foo() nothrow
  {
    throw new Error("Ohai!");
  }


More information about the Digitalmars-d mailing list