std::match_results::swap(3)
π std::match_results::swap(3) π
okay bestie, this one comes from the C++ Standard Libary manual, and itβs giving βshort, sweet, and here to swap some shared states.β β¨
πΈ NAME πΈ
std::match_results::swap - std::match_results::swap
β¨ Synopsis β¨
void swap( match_results& other ) noexcept; (since C++11)
It exchanges the shared states of two match_results objects. Thatβs the whole plot, no cap. π
π Parameters π
otherβ thematch_resultsto swap with. Like, the other one youβre swapping with, obviously π«Ά
π Return value π
(none) β nothing comes back, nada, zero, periodt. π
π¦ Example π¦
This section is incomplete Reason: no example
tragic, ik π but thatβs literally what it says.
π₯ See also π₯
std::swap(std::match_results)β specializes thestd::swapalgorithm. (C++11) (function template) π
π Category π
Todo no example
mwah π β source/version: http://cppreference.com, dated 2024.06.10. slay and goodbye π
π¦ 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