Opened 6 years ago

Closed 6 years ago

#5744 closed Bugs (fixed)

[geometry] mistake fusion adapt example

Reported by: Akira Takahashi <faithandbrave@…> Owned by: barendgehrels
Milestone: Boost 1.48.0 Component: geometry
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:


mistake Boost.Fusion adapt example of reference:


should be


and, BOOST_GEOMETRY_REGISTER_BOOST_FUSION_CS no use CoordinateSystem parameter. I think need modify cs::certesian to CoordinateSystem.

// boost/geometry/geometries/adapted/boost_fusion.hpp
    namespace boost { namespace geometry { namespace traits { \
    template <typename Sequence> \
    struct coordinate_system \
               < \
                   Sequence, \
                   typename boost::enable_if \
                       < \
                           fusion_adapt_detail::is_fusion_sequence<Sequence> \
                       >::type \
               > \
    { typedef cs::cartesian type; }; \


Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by barendgehrels

  • Milestone changed from To Be Determined to Boost 1.48.0
  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain barendgehrels.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.