Boost C++ Libraries: Ticket #5744: [geometry] mistake fusion adapt example https://svn.boost.org/trac10/ticket/5744 <p> mistake Boost.Fusion adapt example of reference: <a href="http://www.boost.org/doc/libs/1_47_0/libs/geometry/doc/html/geometry/reference/adapted/boost_fusion.html">http://www.boost.org/doc/libs/1_47_0/libs/geometry/doc/html/geometry/reference/adapted/boost_fusion.html</a> </p> <pre class="wiki">BOOST_GEOMETRY_REGISTER_BOOST_FUSION_CS(sample_point) </pre><p> should be </p> <pre class="wiki">BOOST_GEOMETRY_REGISTER_BOOST_FUSION_CS(cs::cartesian); </pre><p> and, BOOST_GEOMETRY_REGISTER_BOOST_FUSION_CS no use <code>CoordinateSystem</code> parameter. I think need modify <code>cs::certesian</code> to <code>CoordinateSystem</code>. </p> <pre class="wiki">// boost/geometry/geometries/adapted/boost_fusion.hpp #define BOOST_GEOMETRY_REGISTER_BOOST_FUSION_CS(CoordinateSystem) \ namespace boost { namespace geometry { namespace traits { \ template &lt;typename Sequence&gt; \ struct coordinate_system \ &lt; \ Sequence, \ typename boost::enable_if \ &lt; \ fusion_adapt_detail::is_fusion_sequence&lt;Sequence&gt; \ &gt;::type \ &gt; \ { typedef cs::cartesian type; }; \ </pre><p> }}} </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5744 Trac 1.4.3 Barend Gehrels Mon, 15 Aug 2011 17:37:29 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/5744#comment:1 https://svn.boost.org/trac10/ticket/5744#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.48.0</span> </li> </ul> Ticket