This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Remove unused typedefs in std::bind types
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Apr 2016 17:37:54 +0100
- Subject: [patch] Remove unused typedefs in std::bind types
- Authentication-results: sourceware.org; auth=none
Tested x86_64-linux, committed to trunk.
commit ea5d727f12fcbbb5a8b7b0789f88968649937176
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Mar 14 09:40:41 2016 +0000
Remove unused typedefs in std::bind types
* include/std/function (_Bind, _Bind_result): Remove unused typedefs.
diff --git a/libstdc++-v3/include/std/functional b/libstdc++-v3/include/std/functional
index 9799410..1edd886 100644
--- a/libstdc++-v3/include/std/functional
+++ b/libstdc++-v3/include/std/functional
@@ -927,7 +927,6 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type)
class _Bind<_Functor(_Bound_args...)>
: public _Weak_result_type<_Functor>
{
- typedef _Bind __self_type;
typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
_Bound_indexes;
@@ -1052,7 +1051,6 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type)
template<typename _Result, typename _Functor, typename... _Bound_args>
class _Bind_result<_Result, _Functor(_Bound_args...)>
{
- typedef _Bind_result __self_type;
typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
_Bound_indexes;