We should use the SUGGEST macro for std::uncaught_exception()
deprecation warnings.
libstdc++-v3/ChangeLog:
* include/bits/allocator.h: Qualify std::allocator_traits in
deprecated warnings.
* libsupc++/exception (uncaught_exception): Add suggestion to
deprecated warning.
using propagate_on_container_move_assignment = true_type;
using is_always_equal
- _GLIBCXX20_DEPRECATED_SUGGEST("allocator_traits::is_always_equal")
+ _GLIBCXX20_DEPRECATED_SUGGEST("std::allocator_traits::is_always_equal")
= true_type;
#if __cplusplus >= 202002L
using propagate_on_container_move_assignment = true_type;
using is_always_equal
- _GLIBCXX20_DEPRECATED_SUGGEST("allocator_traits::is_always_equal")
+ _GLIBCXX20_DEPRECATED_SUGGEST("std::allocator_traits::is_always_equal")
= true_type;
#endif
* %exception can result in a call of 1terminate()`
* (15.5.1).'
*/
- _GLIBCXX17_DEPRECATED
+ _GLIBCXX17_DEPRECATED_SUGGEST("std::uncaught_exceptions()")
bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
#if __cplusplus >= 201703L || !defined(__STRICT_ANSI__) // c++17 or gnu++98