std::valarray::swap(3)
π NAME π
std::valarray::swap(3) β literally std::valarray::swap, no notes. This page is from the C++ Standard Libary manual (that spelling is the manual's, not me, bestie π
), and it's all about swapping contents. Iconic behavior, honestly.
β¨ Synopsis β¨
void swap( valarray& other ); (until C++11)
void swap( valarray& other ) noexcept; (since C++11)
Swaps the contents with those of other. That's the whole move π«Ά.
πΈ Parameters πΈ
otherβ anothervalarrayto swap the contents with. Like, the other one in the swap, obviously π.
π Return value π
None. (none). It's giving void energy β nothing comes back, and that's iconic β¨.
Cute sign-off: source/version is http://cppreference.com, dated 2024.06.10. Bye bestie, slay those valarray swaps π
π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms