[Boost-bugs] [Boost C++ Libraries] #8026: Documentation for point concept is missing a typedef

Subject: [Boost-bugs] [Boost C++ Libraries] #8026: Documentation for point concept is missing a typedef
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-11 17:16:36


#8026: Documentation for point concept is missing a typedef
--------------------------------------------------------+-------------------
 Reporter: Martin Gernhard <martin.gernhard@…> | Owner: ljsimons
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: polygon
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
--------------------------------------------------------+-------------------
 The example code for custom point types is missing the "coordinate_type"
 typedef in the "point_mutable_traits" struct and does not compile (GCC
 4.6.3):

 {{{
 polygontest.cpp: In function 'void test_point() [with Point = CPoint]':
 polygontest.cpp:113:24: instantiated from here
 polygontest.cpp:21:42: error: no matching function for call to
 'construct(int&, int&)'
 }}}

 The unit test polygon_point_test.cpp on the other hand does have the
 typedef.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8026>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC