Opened 6 years ago

Closed 6 years ago

#5744 closed Bugs (fixed)

[geometry] mistake fusion adapt example

Reported by: Akira Takahashi <faithandbrave@…> Owned by: Barend Gehrels
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 Barend Gehrels

Milestone: To Be DeterminedBoost 1.48.0
Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Barend Gehrels.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.