summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2004-02-01 17:56:06 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2004-02-01 17:56:06 +0000
commitafd4cbbb504bc4294060776538a77f1d3882cd52 (patch)
tree6bc1ea083ad6e6651ac5d8282a5804f121ecaaaf
parentf6592a9e2cdd63133763f8b9171e2b6051db2393 (diff)
downloadgcc-afd4cbbb504bc4294060776538a77f1d3882cd52.tar.gz
stl_function.h: Additional minor tweaks.
2004-02-01 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_function.h: Additional minor tweaks. From-SVN: r77078
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/bits/stl_function.h12
2 files changed, 10 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ed6d807544d..a8bdc267896 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,9 @@
2004-02-01 Paolo Carlini <pcarlini@suse.de>
+ * include/bits/stl_function.h: Additional minor tweaks.
+
+2004-02-01 Paolo Carlini <pcarlini@suse.de>
+
* include/bits/deque.tcc: Wrap overlong lines, constify
a few variables, reformat according to the coding standards.
* include/bits/list.tcc: Likewise.
diff --git a/libstdc++-v3/include/bits/stl_function.h b/libstdc++-v3/include/bits/stl_function.h
index f7ddffc347c..e9ee842ce37 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 _Arg1, class _Arg2, class _Result>
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