//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // // [simd.casts] // template see below ex::simd_cast<(const // ex::simd&); #include #include namespace ex = std::experimental::parallelism_v2; static_assert( std::is_same(ex::native_simd())), ex::native_simd>::value, ""); static_assert(std::is_same( ex::fixed_size_simd())), ex::fixed_size_simd>::value, ""); static_assert( std::is_same>( ex::simd())), ex::fixed_size_simd>::value, ""); static_assert( std::is_same< decltype(ex::simd_cast>( ex::fixed_size_simd())), ex::simd>::value, ""); int main() {}