function template · 2 overloads
std::simd::select
- Header
<simd>- Draft
- [simd.syn]
- Scope
std::simd- cppreference
- <simd> nearest page
Overloads
- (1)
template<class T, class U> constexpr remove_cvref_t<decltype(c ? a : b)> select( bool c, const T& a, const U& b); - (2)
template<size_t Bytes, class Abi, class T, class U> constexpr decltype(simd_select_impl( c, a, b)) select(const basic_mask<Bytes, Abi>& c, const T& a, const U& b) noexcept;