News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by fpoling on Tuesday February 22, 2022 @01:40PM (#30431715)
Signal failure via an out parameter reference. For destructors store the reference in the object and call an error method on errors.
Re:Current hardware trends make C++ exceptions harder to jus... by mannykannot on Tuesday February 22, 2022 @02:08PM (#30432162)
I think that would be problematical in those cases where the special constructors are called, and complicate using constructors in expressions and argument lists.
Re:Current hardware trends make C++ exceptions harder to jus... by ncmncm on Tuesday February 22, 2022 @02:40PM (#30432599)
That is the worst of all possible choices.

Just throw.