Commit 90751aa7 by Jonathan Wakely Committed by Jonathan Wakely

Remove unused typedefs in std::bind types

	* include/std/function (_Bind, _Bind_result): Remove unused typedefs.

From-SVN: r235157
parent 351a5f81
2016-04-18 Jonathan Wakely <jwakely@redhat.com> 2016-04-18 Jonathan Wakely <jwakely@redhat.com>
* include/std/function (_Bind, _Bind_result): Remove unused typedefs.
* config/cpu/sh/atomicity.h: Fix typo in comment. * config/cpu/sh/atomicity.h: Fix typo in comment.
PR libstdc++/70294 PR libstdc++/70294
......
...@@ -927,7 +927,6 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type) ...@@ -927,7 +927,6 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type)
class _Bind<_Functor(_Bound_args...)> class _Bind<_Functor(_Bound_args...)>
: public _Weak_result_type<_Functor> : public _Weak_result_type<_Functor>
{ {
typedef _Bind __self_type;
typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
_Bound_indexes; _Bound_indexes;
...@@ -1052,7 +1051,6 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type) ...@@ -1052,7 +1051,6 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type)
template<typename _Result, typename _Functor, typename... _Bound_args> template<typename _Result, typename _Functor, typename... _Bound_args>
class _Bind_result<_Result, _Functor(_Bound_args...)> class _Bind_result<_Result, _Functor(_Bound_args...)>
{ {
typedef _Bind_result __self_type;
typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
_Bound_indexes; _Bound_indexes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment