
13 Jul
2017
13 Jul
'17
6:11 p.m.
On Thu, Jul 13, 2017 at 12:55 AM, Groke, Paul via Boost < boost@lists.boost.org> wrote:
Emil Dotchevski via Boost Sent: Donnerstag, 13. Juli 2017 00:27
To clarify the clarification of the clarification, I _am_ interested in finding a way to express the equivalent of the Noexcept return throw_() without using TLS, and I don't insist on it being a free function; for example it would be sufficient if somehow I could just return r in case of an error, as long as it works regardless of what error type r might contain, and of course it should be reasonably efficient.
Have you thought about using a type-erased factory - like function
- as the error type?
exception_ptr needs a memory allocation so that's a no-go.