mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-26 04:25:51 +08:00
* include/bits/stl_function.h (logical_not<void>): Add noexcept.
From-SVN: r204293
This commit is contained in:
parent
7115d32a36
commit
bef49287da
@ -1,3 +1,7 @@
|
||||
2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||
|
||||
* include/bits/stl_function.h (logical_not<void>): Add noexcept.
|
||||
|
||||
2013-11-01 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR libstdc++/58952
|
||||
|
@ -554,7 +554,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
{
|
||||
template <typename _Tp>
|
||||
auto
|
||||
operator()(_Tp&& __t) const -> decltype(!std::forward<_Tp>(__t))
|
||||
operator()(_Tp&& __t) const
|
||||
noexcept(noexcept(!std::forward<_Tp>(__t)))
|
||||
-> decltype(!std::forward<_Tp>(__t))
|
||||
{ return !std::forward<_Tp>(__t); }
|
||||
|
||||
typedef __is_transparent is_transparent;
|
||||
|
Loading…
Reference in New Issue
Block a user