aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-09-20 14:25:07 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-09-20 14:25:07 +0100
commit20f661fbd2fce6c486bb8b0b5ff1161330c38e7d (patch)
tree74960a4fdbe671ed0cb0b258074a523eccd0d9e2 /libstdc++-v3
parentf6b05c44aad49d8c37f4b3deaac93565126340f9 (diff)
downloadgcc-20f661fbd2fce6c486bb8b0b5ff1161330c38e7d.zip
gcc-20f661fbd2fce6c486bb8b0b5ff1161330c38e7d.tar.gz
gcc-20f661fbd2fce6c486bb8b0b5ff1161330c38e7d.tar.bz2
Remove non-standard std::copy_exception function
* libsupc++/exception_ptr.h (copy_exception): Remove deprecated non-standard function. From-SVN: r253011
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog3
-rw-r--r--libstdc++-v3/libsupc++/exception_ptr.h13
2 files changed, 3 insertions, 13 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 6c92731..5a2c960 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,8 @@
2017-09-20 Jonathan Wakely <jwakely@redhat.com>
+ * libsupc++/exception_ptr.h (copy_exception): Remove deprecated
+ non-standard function.
+
PR libstdc++/82262
* include/std/optional (__optional_hash_call_base): Add template
parameter for remove_const_t<_Tp> and use it consistently.
diff --git a/libstdc++-v3/libsupc++/exception_ptr.h b/libstdc++-v3/libsupc++/exception_ptr.h
index 0ece81d..dae4ca6 100644
--- a/libstdc++-v3/libsupc++/exception_ptr.h
+++ b/libstdc++-v3/libsupc++/exception_ptr.h
@@ -201,19 +201,6 @@ namespace std
#endif
}
- // _GLIBCXX_RESOLVE_LIB_DEFECTS
- // 1130. copy_exception name misleading
- /// Obtain an exception_ptr pointing to a copy of the supplied object.
- /// This function is deprecated, use std::make_exception_ptr instead.
- template<typename _Ex>
- exception_ptr
- copy_exception(_Ex __ex) _GLIBCXX_USE_NOEXCEPT _GLIBCXX_DEPRECATED;
-
- template<typename _Ex>
- exception_ptr
- copy_exception(_Ex __ex) _GLIBCXX_USE_NOEXCEPT
- { return std::make_exception_ptr<_Ex>(__ex); }
-
// @} group exceptions
} // namespace std