This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Define accessors for handler functions (Was [patch] update libstdc++ C++11 status table)


On 8 January 2013 21:33, Jonathan Wakely wrote:
> I was going to fix this missing feature, but as Richard just announced
> Stage 3 has ended I'll just update the docs and wait for trunk to
> reopen.
>
>         * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
>
> Committed to trunk and 4.7

Here's a patch to implement N3189, in case I get hit by a bus before
Stage 1. This adds get_new_handler, get_unexpected and get_terminate,
and makes all stores and loads of the handlers atomic.

I think this is safe and backwards compatible, because all stores and
loads of the handlers happen in the library, but I'll wait for Stage
1.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]