Subject: Re: Are Exceptions deeply flawed?
From: Dmitry (dimanne_at_[hidden])
Date: 2019-08-09 14:42:57
> It doesn't use RTTI so it has the same cost as std::expected yet allows
> to separate success and failure like current exceptions. I don't see a
> reason to have std::expected in the standard if we gonna get std::error.
But wait, is not it Sutter's std::error from this proposal -
If yes, it is going to be even worse than current exceptions, due to
concerns regarding its extensibility.
Read my post on reddit -
in particular, "Zero-overhead deterministic exceptions" section.
STD-DISCUSSION list run by email@example.com
Older Archives on Google Groups