1*3df094d3SArthur O'Dwyer //===----------------------------------------------------------------------===// 2*3df094d3SArthur O'Dwyer // 3*3df094d3SArthur O'Dwyer // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*3df094d3SArthur O'Dwyer // See https://llvm.org/LICENSE.txt for license information. 5*3df094d3SArthur O'Dwyer // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*3df094d3SArthur O'Dwyer // 7*3df094d3SArthur O'Dwyer //===----------------------------------------------------------------------===// 8*3df094d3SArthur O'Dwyer 9*3df094d3SArthur O'Dwyer // UNSUPPORTED: c++03, c++11, c++14, c++17 10*3df094d3SArthur O'Dwyer 11*3df094d3SArthur O'Dwyer #include <functional> 12*3df094d3SArthur O'Dwyer 13*3df094d3SArthur O'Dwyer template<class T> 14*3df094d3SArthur O'Dwyer concept Transparent = requires { 15*3df094d3SArthur O'Dwyer typename T::is_transparent; 16*3df094d3SArthur O'Dwyer }; 17*3df094d3SArthur O'Dwyer 18*3df094d3SArthur O'Dwyer static_assert(Transparent<std::compare_three_way>); 19