Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12657/boost-sandbox/boost/units
Modified Files:
dimension.hpp
Log Message:
BOOST_UNITS_REGISTER_BASE_DIMENSION should fully qualify all names
Index: dimension.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/dimension.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- dimension.hpp 12 Apr 2007 00:39:12 -0000 1.5
+++ dimension.hpp 12 Apr 2007 20:44:46 -0000 1.6
@@ -168,16 +168,16 @@
/// each specialization must be separately instantiated in boost::units namespace to prevent duplication of tag values
#define BOOST_UNITS_REGISTER_BASE_DIMENSION(name, N) \
template<> \
-struct base_dimension<N> : \
- public mpl::int_<N> \
+struct boost::units::base_dimension<N> : \
+ public boost::mpl::int_<N> \
{ \
- typedef base_dimension<N> this_type; \
- typedef mpl::int_<N> value; \
+ typedef boost::units::base_dimension<N> this_type; \
+ typedef boost::mpl::int_<N> value; \
\
- typedef make_dimension_list< mpl::list< dim< this_type,static_rational<1> > > >::type type; \
+ typedef boost::units::make_dimension_list< boost::mpl::list< boost::units::dim< this_type,boost::units::static_rational<1> > > >::type type;\
}; \
\
-typedef base_dimension<N> name; \
+typedef boost::units::base_dimension<N> name
/// A utility class for defining composite dimensions with integer powers.
template<class DT1 = dimensionless_type,int E1 = 0,
|