Experimental Physics and Industrial Control System
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: [email protected]
- 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>
2018
2019
2020
2021
2022
2023
2024
- 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>
2018
2019
2020
2021
2022
2023
2024