|
From: Matthias S. <mat...@us...> - 2007-04-03 22:43:13
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12996/systems/si Modified Files: base.hpp Log Message: SI/CODATA additions Index: base.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/base.hpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- base.hpp 3 Apr 2007 17:11:40 -0000 1.5 +++ base.hpp 3 Apr 2007 22:43:10 -0000 1.6 @@ -104,6 +104,20 @@ static std::string symbol() { return "cd"; } }; +template<> +struct base_unit_info<plane_angle_tag,SI::system_tag> +{ + static std::string name() { return "radian"; } + static std::string symbol() { return "rad"; } +}; + +template<> +struct base_unit_info<solid_angle_tag,SI::system_tag> +{ + static std::string name() { return "steradian"; } + static std::string symbol() { return "sr"; } +}; + } // namespace units } // namespace boost |