Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79533 - trunk/libs/geometry/doc
From: barend.gehrels_at_[hidden]
Date: 2012-07-15 10:52:19


Author: barendgehrels
Date: 2012-07-15 10:52:19 EDT (Sun, 15 Jul 2012)
New Revision: 79533
URL: http://svn.boost.org/trac/boost/changeset/79533

Log:
[geometry] Add note about breaking change w.r.t. custom point pointer
Text files modified:
   trunk/libs/geometry/doc/release_notes.qbk | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/libs/geometry/doc/release_notes.qbk
==============================================================================
--- trunk/libs/geometry/doc/release_notes.qbk (original)
+++ trunk/libs/geometry/doc/release_notes.qbk 2012-07-15 10:52:19 EDT (Sun, 15 Jul 2012)
@@ -17,6 +17,10 @@
 [heading Boost 1.51]
 [/=================]
 
+[*Breaking changes]
+
+* points accessed through a pointer (e.g. in a linestring) should now be specialized without the pointer. In previous versions a type `my_point` used like `linestring<my_point*>` had to be specalized like: `template<> struct tag<my_point*>`. Now the library itself removes the pointer before calling the traits class, so now it should be like: `template<> struct tag<my_point>`
+
 [*Bugfixes]
 
 * intersection was sometimes wrong for integer points, fixed


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk