* include/bits/std_function.h (function::_Signature_type): Remove.
(function::function(_Functor)): Adjust.
From-SVN: r244107
+2017-01-05 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/std_function.h (function::_Signature_type): Remove.
+ (function::function(_Functor)): Adjust.
+
2017-01-05 Tim Shen <timshen@google.com>
PR libstdc++/78996
: public _Maybe_unary_or_binary_function<_Res, _ArgTypes...>,
private _Function_base
{
- typedef _Res _Signature_type(_ArgTypes...);
-
template<typename _Func,
typename _Res2 = typename result_of<_Func&(_ArgTypes...)>::type>
struct _Callable : __check_func_return_type<_Res2, _Res> { };
function(_Functor __f)
: _Function_base()
{
- typedef _Function_handler<_Signature_type, _Functor> _My_handler;
+ typedef _Function_handler<_Res(_ArgTypes...), _Functor> _My_handler;
if (_My_handler::_M_not_empty_function(__f))
{