1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
15 // In C++17, auto_ptr has been removed.
16 // However, for backwards compatibility, if _LIBCPP_NO_REMOVE_AUTOPTR
17 // is defined before including <memory>, then auto_ptr will be restored.
19 // MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
21 #define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
24 #include <type_traits>