//===----------------------------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// // UNSUPPORTED: !stdlib=libc++ && (c++03 || c++11 || c++14) // // template // basic_ostream& // operator<<(basic_ostream& os, // const basic_string_view str); #include #include #include template struct HasDecl : std::false_type {}; template struct HasDecl(std::declval() << std::declval()))> : std::true_type { }; static_assert(HasDecl::value, "streaming operator declaration not present");