//===----------------------------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// // //----------------------------------------------------------------------------- // TESTING template struct is_bind_expression // // bind is not implemented in C++03 so nothing is a bind expression. However // for compatibility reasons the trait is_bind_expression should be available // in C++03 and it should always return false. #include #include "test_macros.h" template void test() { static_assert(!std::is_bind_expression::value, ""); } struct C {}; int main(int, char**) { test(); test(); test(); test(); test(); test(); test(); test(); test(); test(); return 0; }