From: Paolo Carlini Date: Sun, 1 Feb 2004 17:56:06 +0000 (+0000) Subject: stl_function.h: Additional minor tweaks. X-Git-Tag: releases/gcc-4.0.0~10480 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=afd4cbbb504bc4294060776538a77f1d3882cd52;p=thirdparty%2Fgcc.git stl_function.h: Additional minor tweaks. 2004-02-01 Paolo Carlini * include/bits/stl_function.h: Additional minor tweaks. From-SVN: r77078 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ed6d807544dd..a8bdc2678963 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2004-02-01 Paolo Carlini + + * include/bits/stl_function.h: Additional minor tweaks. + 2004-02-01 Paolo Carlini * include/bits/deque.tcc: Wrap overlong lines, constify diff --git a/libstdc++-v3/include/bits/stl_function.h b/libstdc++-v3/include/bits/stl_function.h index f7ddffc347cd..e9ee842ce371 100644 --- a/libstdc++-v3/include/bits/stl_function.h +++ b/libstdc++-v3/include/bits/stl_function.h @@ -339,7 +339,7 @@ namespace std _Predicate _M_pred; public: explicit binary_negate(const _Predicate& __x) - : _M_pred(__x) { } + : _M_pred(__x) { } bool operator()(const typename _Predicate::first_argument_type& __x, @@ -397,7 +397,7 @@ namespace std public: binder1st(const _Operation& __x, const typename _Operation::first_argument_type& __y) - : op(__x), value(__y) {} + : op(__x), value(__y) {} typename _Operation::result_type operator()(const typename _Operation::second_argument_type& __x) const @@ -431,7 +431,7 @@ namespace std public: binder2nd(const _Operation& __x, const typename _Operation::second_argument_type& __y) - : op(__x), value(__y) {} + : op(__x), value(__y) {} typename _Operation::result_type operator()(const typename _Operation::first_argument_type& __x) const @@ -500,7 +500,7 @@ namespace std /// One of the @link s20_3_7_adaptors adaptors for function pointers@endlink. template class pointer_to_binary_function - : public binary_function<_Arg1, _Arg2, _Result> + : public binary_function<_Arg1, _Arg2, _Result> { protected: _Result (*_M_ptr)(_Arg1, _Arg2); @@ -603,7 +603,7 @@ namespace std { public: explicit const_mem_fun_t(_Ret (_Tp::*__pf)() const) - : _M_f(__pf) {} + : _M_f(__pf) {} _Ret operator()(const _Tp* __p) const @@ -618,7 +618,7 @@ namespace std { public: explicit mem_fun_ref_t(_Ret (_Tp::*__pf)()) - : _M_f(__pf) {} + : _M_f(__pf) {} _Ret operator()(_Tp& __r) const