Add inline to std::__invfwd
PR libstdc++/59768 * include/std/functional (__invfwd): Add inline specifier. From-SVN: r231900
This commit is contained in:
parent
dda5c83188
commit
9643ce888b
|
@ -1,3 +1,8 @@
|
|||
2015-12-22 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/59768
|
||||
* include/std/functional (__invfwd): Add inline specifier.
|
||||
|
||||
2015-12-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/68982
|
||||
|
|
|
@ -207,7 +207,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||
// Used by __invoke_impl instead of std::forward<_Tp> so that a
|
||||
// reference_wrapper is converted to an lvalue-reference.
|
||||
template<typename _Tp>
|
||||
typename _Unwrap<_Tp>::type
|
||||
inline typename _Unwrap<_Tp>::type
|
||||
__invfwd(typename remove_reference<_Tp>::type& __t) noexcept
|
||||
{ return _Unwrap<_Tp>::_S_fwd(__t); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue