comparison DEPENDENCIES/generic/include/boost/units/quantity.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
83 struct disable_if_is_same<T, T> {}; 83 struct disable_if_is_same<T, T> {};
84 84
85 } 85 }
86 86
87 /// class declaration 87 /// class declaration
88 template<class Unit,class Y = double> 88 template<class Unit,class Y>
89 class quantity 89 class quantity
90 { 90 {
91 // base units are not the same as units. 91 // base units are not the same as units.
92 BOOST_MPL_ASSERT_NOT((detail::is_base_unit<Unit>)); 92 BOOST_MPL_ASSERT_NOT((detail::is_base_unit<Unit>));
93 enum { force_instantiation_of_unit = sizeof(Unit) }; 93 enum { force_instantiation_of_unit = sizeof(Unit) };