Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: ‘template<class> class std::auto_ptr’ is deprecated ?
From: "Konrad, Martin" <konrad@frib.msu.edu>
To: Dirk Zimoch <dirk.zimoch@psi.ch>, "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
Date: Wed, 6 Dec 2017 13:27:43 +0000
Hi Dirk,
> With a recent g++ (6.2.1) I get warnings that std::auto_ptr is 
> deprecated. Do we need something new, like std::unique_ptr?
Yes, eventually. Unfortunately unique_ptr hasn't been available until
C++11. If we need to support older compilers we might need to stick with
auto_ptr for a while.

Martin

-- 
Martin Konrad
High Performance Controls Team Leader
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: konrad@frib.msu.edu

Navigate by Date:
Prev: ‘template<class> class std::auto_ptr’ is deprecated ? Dirk Zimoch
Next: Releasing 3.14.12.7 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: ‘template<class> class std::auto_ptr’ is deprecated ? Dirk Zimoch
Next: Releasing 3.14.12.7 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 06 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·