![]() |
![]() |
Meta-function to select, of two types, the most accurate type for calculations. More...
Public Types | |
typedef select_most_precise < typename select_most_precise < T1, T2 >::type, T3 >::type | type |
Meta-function to select, of two types, the most accurate type for calculations.
select_most_precise classes, compares two types on compile time. For example, if an addition must be done with a double and an integer, the result must be a double. If both types are integer, the result can be an integer.
typedef select_most_precise< typename select_most_precise<T1, T2>::type, T3 >::type boost::geometry::select_most_precise< T1, T2, T3 >::type |
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |