Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5690/detail
Modified Files:
utility.hpp
Log Message:
impl changes
Index: utility.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/detail/utility.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- utility.hpp 16 Mar 2007 18:12:44 -0000 1.1.1.1
+++ utility.hpp 4 Apr 2007 20:07:39 -0000 1.2
@@ -67,7 +67,7 @@
} // namespace detail
template<class L>
-std::string simplify_mpl_typename(const L& source)
+std::string simplify_typename(const L& source)
{
const std::string demangled = detail::demangle(typeid(source).name());
@@ -85,7 +85,9 @@
} // namespace units
} // namespace boost
+
#else // MCS_USE_DEMANGLING
+
namespace boost {
namespace units {
@@ -102,7 +104,7 @@
} // namespace detail
template<class L>
-std::string simplify_mpl_typename(const L& source)
+std::string simplify_typename(const L& source)
{
return std::string(typeid(source).name());
}
|