Modify

Ticket #8026 (closed Bugs: fixed)

Opened 15 months ago

Last modified 12 months ago

Documentation for point concept is missing a typedef

Reported by: Martin Gernhard <martin.gernhard@…> Owned by: asydorchuk
Milestone: Boost 1.54.0 Component: polygon
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

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.

Attachments

polygon_point_docu_fix.patch Download (1.1 KB) - added by Martin Gernhard <martin.gernhard@…> 15 months ago.

Change History

Changed 15 months ago by Martin Gernhard <martin.gernhard@…>

comment:1 follow-up: ↓ 2 Changed 14 months ago by asydorchuk

  • Owner changed from ljsimons to asydorchuk

comment:2 in reply to: ↑ 1 Changed 14 months ago by asydorchuk

Hi Martin,

Thanks for the report. I've updated documentation on trunk (development) branch. It will become public with Boost 1.54 release.

comment:3 Changed 14 months ago by asydorchuk

  • Milestone changed from To Be Determined to Boost 1.54.0

comment:4 Changed 13 months ago by asydorchuk

  • Status changed from new to closed
  • Resolution set to fixed

comment:5 Changed 12 months ago by asydorchuk

(In [83918]) [Polygon] Merging from trunk for the upcoming release: 1) Updated Voronoi documentation. 2) Fixed #8026, #8197, #8257.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.