//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef TEST_STD_SHARED_PTR_RESET_H #define TEST_STD_SHARED_PTR_RESET_H #include #include template std::false_type test_has_reset(...); template typename std::enable_if().reset(std::declval()...)), void>::value, std::true_type>::type test_has_reset(int); template using HasReset = decltype(test_has_reset(0)); #endif // TEST_STD_SHARED_PTR_RESET_H