Calypso progress report (+ updated MingW64 build)
Elie Morisse via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sat Nov 21 09:28:10 PST 2015
On Monday, 16 November 2015 at 19:35:58 UTC, Andrei Alexandrescu
wrote:
> That's great progress. Do you have documentation for how things
> work? For example, what's the lifetime of the pointer people
> will get from std::exception::what().
>
> IMHO: don't worry about catching exceptions by value; it's
> almost always either incorrect, uninteresting, or both. The
> prize is catching (references to) classes rooted in
> std::exception. Nice-to-have is catching (references to)
> classes rooted in other C++ classes.
>
> A blog post would be fantastic.
>
>
> Andrei
Finally there:
https://syniurgeblog.wordpress.com/2015/11/20/catching-cpp-exceptions-in-d/
Although a little late and probably less user-oriented than you
wanted?
> For example, what's the lifetime of the pointer people will get
> from std::exception::what().
The exception object gets destroyed on exiting the catch (C++)
block if the exception isn't rethrown.
More information about the Digitalmars-d-announce
mailing list