Meta-function selecting the "calculation" type. More...
#include <select_calculation_type.hpp>
Public Types | |
typedef boost::mpl::if_ < boost::is_void < CalculationType >, typename select_coordinate_type < Geometry1, Geometry2 >::type, CalculationType >::type | type |
Meta-function selecting the "calculation" type.
Based on two input geometry types, and an input calculation type, (which defaults to void in the calling function), this meta-function selects the most appropriate:
typedef boost::mpl::if_< boost::is_void<CalculationType>, typename select_coordinate_type < Geometry1, Geometry2 >::type, CalculationType >::type boost::geometry::select_calculation_type< Geometry1, Geometry2, CalculationType >::type |