Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::detail::coordinate_cast< CoordinateType > Struct Template Reference

cast coordinates from a string to a coordinate type By default it uses lexical_cast. More...

#include <coordinate_cast.hpp>

Static Public Member Functions

static CoordinateType apply (std::string const &source)
 

Detailed Description

template<typename CoordinateType>
struct boost::geometry::detail::coordinate_cast< CoordinateType >

cast coordinates from a string to a coordinate type By default it uses lexical_cast.

However, lexical_cast seems not to support ttmath / partial specializations. Therefore this small utility is added. See also "define_pi" where the same issue is solved

Member Function Documentation

template<typename CoordinateType >
static CoordinateType boost::geometry::detail::coordinate_cast< CoordinateType >::apply ( std::string const &  source)
inlinestatic

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