function template · 4 overloads
std::simd::reduce_max
- Header
<simd>- Draft
- [simd.syn]
- Scope
std::simd- cppreference
- <simd> nearest page
Overloads
- (1)
template<class T> requires (simd-vectorizable<T> && totally_ordered<T>) constexpr T reduce_max(const T& x) noexcept; - (2)
template<class T, class Abi> requires totally_ordered<T> constexpr T reduce_max(const basic_vec<T, Abi>& x) noexcept; - (3)
template<class T> requires (simd-vectorizable<T> && totally_ordered<T>) constexpr T reduce_max(const T& x, auto mask) noexcept; - (4)
template<class T, class Abi> requires totally_ordered<T> constexpr T reduce_max( const basic_vec<T, Abi>& x, const basic_vec<T, Abi>::mask_type& mask) noexcept;