[geos-devel] [GEOS] #491: Fix C++11 build by avoiding std::pair<auto_ptr>

GEOS geos-trac at osgeo.org
Mon Oct 17 19:22:11 EDT 2011


#491: Fix C++11 build by avoiding std::pair<auto_ptr>
------------------------+---------------------------------------------------
 Reporter:  jyasskin    |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:  3.3.2                     
Component:  Default     |     Version:  svn-trunk                 
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------
 The new C++11 standard disallows using std::auto_ptr as a member of
 std::pair: http://lwg.github.com/issues/lwg-closed.html#2068. This patch
 defines a very simple struct to replace the GeomPtrPair typedef to avoid
 this issue.

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


More information about the geos-devel mailing list