summaryrefslogtreecommitdiff
path: root/boost/units/base_units/si/kilogram.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/units/base_units/si/kilogram.hpp')
-rw-r--r--boost/units/base_units/si/kilogram.hpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/boost/units/base_units/si/kilogram.hpp b/boost/units/base_units/si/kilogram.hpp
new file mode 100644
index 0000000000..0f8b0a6c71
--- /dev/null
+++ b/boost/units/base_units/si/kilogram.hpp
@@ -0,0 +1,31 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2007-2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_SI_KILOGRAM_BASE_UNIT_HPP
+#define BOOST_UNITS_SI_KILOGRAM_BASE_UNIT_HPP
+
+#include <boost/units/scaled_base_unit.hpp>
+#include <boost/units/base_units/cgs/gram.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace si {
+
+typedef scaled_base_unit<boost::units::cgs::gram_base_unit, scale<10, static_rational<3> > > kilogram_base_unit;
+
+} // namespace si
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_SI_KILOGRAM_BASE_UNIT_HPP