Boost C++ Libraries: Ticket #13436: Incorrectness in boost::geometry::model::polygon documentation https://svn.boost.org/trac10/ticket/13436 <p> The <a class="missing wiki">PointList</a> template argument description in polygon model page <a href="http://www.boost.org/doc/libs/1_66_0/libs/geometry/doc/html/geometry/reference/models/model_polygon.html">http://www.boost.org/doc/libs/1_66_0/libs/geometry/doc/html/geometry/reference/models/model_polygon.html</a> says that std::list container can also be used to hold vertices. In reality - it is not possible, because of Ring Concept limitations. </p> <p> So, to reproduce the error, simply add std::list to the template argument list in the sample on the same page. Actually the compilation will error out even for the initialization of polygon with points with append(). Even if polygon is populated with vertices in some other ways (simply calling push_back()) the sample compilation will fail on area() call. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13436 Trac 1.4.3 awulkiew Mon, 05 Feb 2018 21:29:02 GMT keywords, owner, component changed https://svn.boost.org/trac10/ticket/13436#comment:1 https://svn.boost.org/trac10/ticket/13436#comment:1 <ul> <li><strong>keywords</strong> geometry added </li> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">awulkiew</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">geometry</span> </li> </ul> Ticket awulkiew Mon, 05 Feb 2018 21:37:05 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/13436#comment:2 https://svn.boost.org/trac10/ticket/13436#comment:2 <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.67.0</span> </li> </ul> <p> Thanks! </p> <p> I removed <code>std::list</code> from example container types. </p> Ticket