|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2007-12-06 06:54:28
Author: danieljames
Date: 2007-12-06 06:54:28 EST (Thu, 06 Dec 2007)
New Revision: 41784
URL: http://svn.boost.org/trac/boost/changeset/41784
Log:
Give an implementation function a clearer name.
Text files modified:
sandbox/unordered/libs/unordered/test/objects/exception.hpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Modified: sandbox/unordered/libs/unordered/test/objects/exception.hpp
==============================================================================
--- sandbox/unordered/libs/unordered/test/objects/exception.hpp (original)
+++ sandbox/unordered/libs/unordered/test/objects/exception.hpp 2007-12-06 06:54:28 EST (Thu, 06 Dec 2007)
@@ -118,21 +118,21 @@
};
template <class T, class P1, class P2, class T2>
- inline void call_with_increased_arity(void (T::*fn)() const, T2 const& obj,
+ inline void call_ignore_extra_parameters(void (T::*fn)() const, T2 const& obj,
P1&, P2&)
{
(obj.*fn)();
}
template <class T, class P1, class P2, class T2>
- inline void call_with_increased_arity(void (T::*fn)(P1&) const, T2 const& obj,
+ inline void call_ignore_extra_parameters(void (T::*fn)(P1&) const, T2 const& obj,
P1& p1, P2&)
{
(obj.*fn)(p1);
}
template <class T, class P1, class P2, class T2>
- inline void call_with_increased_arity(void (T::*fn)(P1&, P2&) const, T2 const& obj,
+ inline void call_ignore_extra_parameters(void (T::*fn)(P1&, P2&) const, T2 const& obj,
P1& p1, P2& p2)
{
(obj.*fn)(p1, p2);
@@ -156,10 +156,10 @@
strong.store(x);
try {
ENABLE_EXCEPTIONS;
- call_with_increased_arity(&Test::run, test_, x, strong);
+ call_ignore_extra_parameters(&Test::run, test_, x, strong);
}
catch(...) {
- call_with_increased_arity(&Test::check, test_,
+ call_ignore_extra_parameters(&Test::check, test_,
constant(x), constant(strong));
throw;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk