-
- Downloads
std::auto_ptr is marked deprecated in C++11/14 and will be removed in C++17.
This fix selects std::unique_ptr when the compiler is identified as being C++11 compliant. To ensure the compiler is C++11 compliant or better, __cplusplus, _MSC_VER and _CPPLIB_VER are tested. _MSC_VER is used since Microsoft compilers still use 19711L as the __cplusplus value. _CPPLIB_VER is used to test for better Dinkumware support. The variable VTK_HAS_STD_UNIQUE_PTR is defined if std::unique_ptr is available.
Showing
- Common/Core/vtkConfigure.h.in 8 additions, 0 deletionsCommon/Core/vtkConfigure.h.in
- Common/DataModel/vtkDispatcher_Private.h 17 additions, 0 deletionsCommon/DataModel/vtkDispatcher_Private.h
- IO/XML/vtkXMLWriter.cxx 5 additions, 0 deletionsIO/XML/vtkXMLWriter.cxx
- IO/XMLParser/vtkXMLDataParser.cxx 10 additions, 0 deletionsIO/XMLParser/vtkXMLDataParser.cxx
Loading
Please register or sign in to comment