News for hackers. Stuff that matters.
Re:Problems with C++ exceptions by mikhael on Wednesday November 12, 2025 @01:46AM (#45897069)
this may lose the value of errno, right?
Re:Problems with C++ exceptions by dardeaup on Wednesday November 12, 2025 @01:53AM (#45897098)
Yes, it would. It would be trivial to add errno as an instance variable for File_Handle class though.
Re:Problems with C++ exceptions by rerdavies on Thursday November 13, 2025 @10:58PM (#45923679)
Kind of the opposite. You lose the fragility and imprecision of and non-extensibility of errno. Good riddance!