[geos-devel] [GEOS] #785: g++ 6 auto_ptr

GEOS geos-trac at osgeo.org
Thu Jul 7 11:00:08 PDT 2016


#785: g++ 6 auto_ptr
------------------------+---------------------------
 Reporter:  rsbivand    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  minor       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by mloskot):

 Replying to [comment:2 rouault]:
 > In GDAL there's a driver making use of auto_ptr, and I've finally done
 > {{{
 > #if __cplusplus >= 201103L
 > #define UNIQUEPTR       std::unique_ptr
 > #else
 > #define UNIQUEPTR       std::auto_ptr
 > #endif
 > }}}


 For sake, typedef!

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/785#comment:3>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list