Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::strategy::compare::detail::select_strategy< Strategy, Direction, Point, Dimension > Struct Template Reference

Meta-function to select strategy. More...

#include <compare.hpp>

Public Types

typedef boost::mpl::if_
< is_default< Strategy >
, typename strategy_compare
< typename cs_tag< Point >
::type, Direction, Point,
typename coordinate_system
< Point >::type, Dimension >
::type, Strategy >::type 
type
 

Detailed Description

template<typename Strategy, int Direction, typename Point, std::size_t Dimension>
struct boost::geometry::strategy::compare::detail::select_strategy< Strategy, Direction, Point, Dimension >

Meta-function to select strategy.

If "default_strategy" is specified, it will take the traits-registered class for the specified coordinate system. If another strategy is explicitly specified, it takes that one.

Member Typedef Documentation

template<typename Strategy, int Direction, typename Point, std::size_t Dimension>
typedef boost::mpl::if_< is_default<Strategy>, typename strategy_compare < typename cs_tag<Point>::type, Direction, Point, typename coordinate_system<Point>::type, Dimension >::type, Strategy >::type boost::geometry::strategy::compare::detail::select_strategy< Strategy, Direction, Point, Dimension >::type

The documentation for this struct was generated from the following file: