diff options
author | Howard Hinnant <hhinnant@apple.com> | 2010-12-02 16:45:21 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2010-12-02 16:45:21 +0000 |
commit | 1596c4531b3950f4c883013cb51182ad40884633 (patch) | |
tree | 969833db70ead1f9cf8f6d0ec88590ab60858fbe /libcxx/include/exception | |
parent | cdae9242fa11b0bb9a575dc4632fc3008c662339 (diff) | |
download | bcm5719-llvm-1596c4531b3950f4c883013cb51182ad40884633.tar.gz bcm5719-llvm-1596c4531b3950f4c883013cb51182ad40884633.zip |
N3189 Observers for the three handler functions
llvm-svn: 120712
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r-- | libcxx/include/exception | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception index 845697203be..4871f41394a 100644 --- a/libcxx/include/exception +++ b/libcxx/include/exception @@ -40,10 +40,12 @@ public: typedef void (*unexpected_handler)(); unexpected_handler set_unexpected(unexpected_handler f ) throw(); +unexpected_handler get_unexpected() throw(); void unexpected [[noreturn]] (); typedef void (*terminate_handler)(); terminate_handler set_terminate(terminate_handler f ) throw(); +terminate_handler get_terminate() throw(); void terminate [[noreturn]] (); bool uncaught_exception() throw(); @@ -102,10 +104,12 @@ public: typedef void (*unexpected_handler)(); _LIBCPP_VISIBLE unexpected_handler set_unexpected(unexpected_handler) throw(); +_LIBCPP_VISIBLE unexpected_handler get_unexpected() throw(); _LIBCPP_VISIBLE void unexpected(); typedef void (*terminate_handler)(); _LIBCPP_VISIBLE terminate_handler set_terminate(terminate_handler) throw(); +_LIBCPP_VISIBLE terminate_handler get_terminate() throw(); _LIBCPP_VISIBLE void terminate() __attribute__((__noreturn__)); _LIBCPP_VISIBLE bool uncaught_exception() throw(); |