//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // type_traits // conditional #include int main() { static_assert((std::is_same::type, char>::value), ""); static_assert((std::is_same::type, int>::value), ""); #if _LIBCPP_STD_VER > 11 static_assert((std::is_same, char>::value), ""); static_assert((std::is_same, int>::value), ""); #endif }