Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/conversions
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31952/conversions
Modified Files:
convert_degrees_to_gradians.hpp convert_radians_to_degrees.hpp
convert_radians_to_gradians.hpp
Log Message:
fundamental_dimension->base_dimension
composite_dimension->derived_dimension
various changes for compatibility with SI nomenclature
Index: convert_radians_to_degrees.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/conversions/convert_radians_to_degrees.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- convert_radians_to_degrees.hpp 3 Apr 2007 17:12:25 -0000 1.4
+++ convert_radians_to_degrees.hpp 4 Apr 2007 19:53:54 -0000 1.5
@@ -12,8 +12,8 @@
#define BOOST_UNITS_CONVERT_RADIANS_TO_DEGREES_HPP
#include <boost/units/conversion.hpp>
-#include <boost/units/systems/angles/degrees.hpp>
-#include <boost/units/systems/angles/radians.hpp>
+#include <boost/units/systems/angle/degrees.hpp>
+#include <boost/units/systems/si/plane_angle.hpp>
namespace boost {
@@ -22,7 +22,7 @@
// conversions from radians to degrees
template<>
-struct base_unit_converter<plane_angle_tag,angles::radians::system_tag,angles::degrees::system_tag> :
+struct base_unit_converter<plane_angle_tag,SI::system_tag,degree::system_tag> :
#ifdef BOOST_UNITS_ENABLE_IMPLICIT_UNIT_CONVERSION
public implicitly_convertible,
#endif
Index: convert_degrees_to_gradians.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/conversions/convert_degrees_to_gradians.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- convert_degrees_to_gradians.hpp 3 Apr 2007 17:12:25 -0000 1.4
+++ convert_degrees_to_gradians.hpp 4 Apr 2007 19:53:54 -0000 1.5
@@ -12,8 +12,8 @@
#define BOOST_UNITS_CONVERT_DEGREES_TO_GRADIANS_HPP
#include <boost/units/conversion.hpp>
-#include <boost/units/systems/angles/degrees.hpp>
-#include <boost/units/systems/angles/gradians.hpp>
+#include <boost/units/systems/angle/degrees.hpp>
+#include <boost/units/systems/angle/gradians.hpp>
namespace boost {
@@ -22,7 +22,7 @@
// conversions from degrees to gradians
template<>
-struct base_unit_converter<plane_angle_tag,angles::degrees::system_tag,angles::gradians::system_tag> :
+struct base_unit_converter<plane_angle_tag,degree::system_tag,gradian::system_tag> :
#ifdef BOOST_UNITS_ENABLE_IMPLICIT_UNIT_CONVERSION
public implicitly_convertible,
#endif
Index: convert_radians_to_gradians.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/conversions/convert_radians_to_gradians.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- convert_radians_to_gradians.hpp 3 Apr 2007 17:12:25 -0000 1.4
+++ convert_radians_to_gradians.hpp 4 Apr 2007 19:53:54 -0000 1.5
@@ -12,8 +12,8 @@
#define BOOST_UNITS_CONVERT_RADIANS_TO_GRADIANS_HPP
#include <boost/units/conversion.hpp>
-#include <boost/units/systems/angles/gradians.hpp>
-#include <boost/units/systems/angles/radians.hpp>
+#include <boost/units/systems/angle/gradians.hpp>
+#include <boost/units/systems/si/plane_angle.hpp>
namespace boost {
@@ -22,7 +22,7 @@
// conversions from radians to gradians
template<>
-struct base_unit_converter<plane_angle_tag,angles::radians::system_tag,angles::gradians::system_tag> :
+struct base_unit_converter<plane_angle_tag,SI::system_tag,gradian::system_tag> :
#ifdef BOOST_UNITS_ENABLE_IMPLICIT_UNIT_CONVERSION
public implicitly_convertible,
#endif
|