|
Boost-Commit : |
From: boost_at_[hidden]
Date: 2008-05-19 00:59:30
Author: matthiasschabel
Date: 2008-05-19 00:59:30 EDT (Mon, 19 May 2008)
New Revision: 45524
URL: http://svn.boost.org/trac/boost/changeset/45524
Log:
should fix cmath.hpp issues
Text files modified:
sandbox/units/libs/units/test/test_header.hpp | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
Modified: sandbox/units/libs/units/test/test_header.hpp
==============================================================================
--- sandbox/units/libs/units/test/test_header.hpp (original)
+++ sandbox/units/libs/units/test/test_header.hpp 2008-05-19 00:59:30 EDT (Mon, 19 May 2008)
@@ -34,15 +34,19 @@
#include <boost/units/base_unit.hpp>
#include <boost/units/make_system.hpp>
+#include <boost/units/physical_dimensions/length.hpp>
+#include <boost/units/physical_dimensions/mass.hpp>
+#include <boost/units/physical_dimensions/time.hpp>
+
#define BOOST_UNITS_CHECK_CLOSE(a, b) (BOOST_CHECK((std::abs((a) - (b)) < .0000001)))
namespace boost {
namespace units {
-struct length_base_dimension : boost::units::base_dimension<length_base_dimension,1> { }; ///> base dimension of length
-struct mass_base_dimension : boost::units::base_dimension<mass_base_dimension,2> { }; ///> base dimension of mass
-struct time_base_dimension : boost::units::base_dimension<time_base_dimension,3> { }; ///> base dimension of time
+//struct length_base_dimension : boost::units::base_dimension<length_base_dimension,1> { }; ///> base dimension of length
+//struct mass_base_dimension : boost::units::base_dimension<mass_base_dimension,2> { }; ///> base dimension of mass
+//struct time_base_dimension : boost::units::base_dimension<time_base_dimension,3> { }; ///> base dimension of time
typedef length_base_dimension::dimension_type length_dimension;
typedef mass_base_dimension::dimension_type mass_dimension;
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