On Wednesday, 31 May 2017 at 09:31:48 UTC, Jonathan M Davis wrote:
On Wednesday, May 31, 2017 08:18:07 Vasileios Anagnostopoulos via Digitalmars-d-learn wrote:
[...]

Well, if you're not doing checked exceptions, the interesting question is really what _doesn't_ throw rather than what throws, because if the compiler knows that a function doesn't throw, it can optimize out the exception handling mechanisms that are normally required.

I don't think this is possible in current D? @nothrow functions can still throw Error.
        • Re: Questio... Vasileios Anagnostopoulos via Digitalmars-d-learn
          • Re: Que... Ali Çehreli via Digitalmars-d-learn
            • Re... Vasileios Anagnostopoulos via Digitalmars-d-learn
              • ... Ali Çehreli via Digitalmars-d-learn
              • ... Vasileios Anagnostopoulos via Digitalmars-d-learn
              • ... Vasileios Anagnostopoulos via Digitalmars-d-learn
              • ... Ali Çehreli via Digitalmars-d-learn
  • Re: Question on @nothrow Jonathan M Davis via Digitalmars-d-learn
  • Re: Question on @nothrow Vasileios Anagnostopoulos via Digitalmars-d-learn
  • Re: Question on @nothrow Yuxuan Shui via Digitalmars-d-learn
  • Re: Question on @nothrow Yuxuan Shui via Digitalmars-d-learn

Reply via email to