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.
[ Parent
| on HN ]
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.