std::experimental::minmax(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

std::experimental::minmax(3) πŸ’–

okay so this page comes from the C++ Standard Libary manual, and it's about std::experimental::minmax β€” yes bestie, the name is literally std::experimental::minmax, and that's iconic of it.

🌸 NAME 🌸

std::experimental::minmax β€” std::experimental::minmax

✨ Synopsis ✨

Defined in header <experimental/simd>
template< class T, class Abi >

std::pair<simd<T, Abi>, simd<T, Abi>>
(parallelism TS v2)

minmax( const simd<T, Abi>& a, const simd<T, Abi>& b )
noexcept;

Returns both the element-wise min result and element-wise max result. Like, it's giving two-for-one, no cap ✨

🫢 Parameters 🫢

  • a β€” the first vector of elements for minmax
  • b β€” the second vector of elements for minmax

πŸ’… Return value πŸ’…

An object r, where the i^th element of r.first is std::min(a[i], b[i]), and the i^th element of r.second is std::max(a[i], b[i]).

That's the whole vibe: first is min, second is max, periodt πŸ’…

😭 Example 😭

This section is incomplete.

Reason: no example.

Yeah bestie, it's literally giving placeholder energy β€” no example yet πŸ™ˆ

πŸ‘€ See also πŸ‘€

Category:

  • Todo no example

source: http://cppreference.com Β· version/date: 2024.06.10 Β· page: std::experimental::minmax(3) β€” bye bestie, go minmax slay πŸ’…βœ¨

πŸ“¦ where this page comes from