|
|
|||
Warning, file /include/boost/units/dimensionless_quantity.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 0002 // unit/quantity manipulation and conversion 0003 // 0004 // Copyright (C) 2003-2008 Matthias Christian Schabel 0005 // Copyright (C) 2008 Steven Watanabe 0006 // 0007 // Distributed under the Boost Software License, Version 1.0. (See 0008 // accompanying file LICENSE_1_0.txt or copy at 0009 // http://www.boost.org/LICENSE_1_0.txt) 0010 0011 #ifndef BOOST_UNITS_DIMENSIONLESS_QUANTITY_HPP 0012 #define BOOST_UNITS_DIMENSIONLESS_QUANTITY_HPP 0013 0014 /// 0015 /// \file 0016 /// \brief Utility class to simplify construction of dimensionless quantities. 0017 /// 0018 0019 #include <boost/units/dimensionless_unit.hpp> 0020 #include <boost/units/quantity.hpp> 0021 0022 namespace boost { 0023 0024 namespace units { 0025 0026 /// Utility class to simplify construction of dimensionless quantities. 0027 template<class System,class Y> 0028 struct dimensionless_quantity 0029 { 0030 typedef quantity<typename dimensionless_unit<System>::type,Y> type; 0031 }; 0032 0033 } // namespace units 0034 0035 } // namespace boost 0036 0037 #endif // BOOST_UNITS_DIMENSIONLESS_QUANTITY_HPP
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|