std::swap(s...ringstream)(3)
πΈ NAME πΈ
okay so bestie, this is the std::swap(s...ringstream)(3) page from the C++ Standard Libary manual β yes, that's the manual name, keep up π
. It's giving main character energy for std::swap(std::basic_stringstream) - std::swap(std::basic_stringstream). Periodt. β¨
π Synopsis π
Defined in header <sstream> π«Ά
template< class CharT, class Traits, class Alloc >
void swap( std::basic_stringstream<CharT,Traits,Alloc>& lhs,
(since C++11)
std::basic_stringstream<CharT,Traits,Alloc>& rhs );
It overloads the std::swap algorithm for std::basic_stringstream. It exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs). Slay. π₯
π Parameters π
lhs, rhsβ streams whose state to swap. That's the whole assignment, bestie. π«Ά
π¦ Return value π¦
(none) β lowkey nothing comes back, ngl. π
π Exceptions π
May throw implementation-defined exceptions. So yeah, bestie, it's giving implementation gets to decide energy β no cap. π
π Example π
This section is incomplete Reason: no example
bestie they really left us hanging on this one π
π See also π
swapβ swaps two string streams (C++11) (public member function). The way this one just does the thing π
π Category π
- Todo no example
That's the tea: source/version: http://cppreference.com; date: 2024.06.10; page: std::swap(s...ringstream)(3) β mwah πβ¨
π¦ 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