Update of /cvsroot/boost-sandbox/boost-sandbox/libs/units/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12561/test
Modified Files:
test_header.hpp
Log Message:
unit_info -> base_unit_info
Index: test_header.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/units/test/test_header.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- test_header.hpp 16 Mar 2007 18:29:55 -0000 1.1.1.1
+++ test_header.hpp 29 Mar 2007 17:10:55 -0000 1.2
@@ -89,19 +89,20 @@
BOOST_UNITS_STATIC_CONSTANT(cubic_meter,volume);
BOOST_UNITS_STATIC_CONSTANT(cubic_meters,volume);
-template<> struct unit_info<system_tag,length_tag>
+template<> struct base_unit_info<length_tag,system_tag>
{
static std::string name() { return "meter"; }
static std::string symbol() { return "m"; }
};
+//]
-template<> struct unit_info<system_tag,mass_tag>
+template<> struct base_unit_info<mass_tag,system_tag>
{
static std::string name() { return "kilogram"; }
static std::string symbol() { return "kg"; }
};
-template<> struct unit_info<system_tag,time_tag>
+template<> struct base_unit_info<time_tag,system_tag>
{
static std::string name() { return "second"; }
static std::string symbol() { return "s"; }
|