|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54682 - sandbox/itl/boost/validate/laws
From: afojgo_at_[hidden]
Date: 2009-07-05 16:05:18
Author: jofaber
Date: 2009-07-05 16:05:17 EDT (Sun, 05 Jul 2009)
New Revision: 54682
URL: http://svn.boost.org/trac/boost/changeset/54682
Log:
Refactoring, portability: Added copies of SourceT objects to help matching BinaryPushout for gcc-4.3.2.
Text files modified:
sandbox/itl/boost/validate/laws/pushouts.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: sandbox/itl/boost/validate/laws/pushouts.hpp
==============================================================================
--- sandbox/itl/boost/validate/laws/pushouts.hpp (original)
+++ sandbox/itl/boost/validate/laws/pushouts.hpp 2009-07-05 16:05:17 EDT (Sun, 05 Jul 2009)
@@ -64,10 +64,12 @@
// --- right hand side -----------------------
// rhs := atomize(a) * atomize(b)
+ SourceT value_a = this->template getInputValue<operand_a>();
TargetT atomic_a;
- FunctionT<TargetT,SourceT>()(atomic_a, this->template getInputValue<operand_a>());
+ FunctionT<TargetT,SourceT>()(atomic_a, value_a);
+ SourceT value_b = this->template getInputValue<operand_b>();
TargetT atomic_b;
- FunctionT<TargetT,SourceT>()(atomic_b, this->template getInputValue<operand_b>());
+ FunctionT<TargetT,SourceT>()(atomic_b, value_b);
TargetT rhs = atomic_a;
OperatorT<TargetT>()(rhs, atomic_b);
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