std::swap(s...spanstream)(3)
π NAME
std::swap(std::basic_spanstream) - std::swap(std::basic_spanstream)
okay so bestie π
this is the std::swap(s...spanstream)(3) page from the C++ Standard Libary manual, and weβre here for the std::swap glow-up for std::basic_spanstream. Itβs giving βswap the stream stateβ main character energy, no cap.
β¨ Synopsis
Defined in header <spanstream>
template< class CharT, class Traits >
void swap( std::basic_spanstream<CharT, Traits>& lhs, (since
C++23)
std::basic_spanstream<CharT, Traits>& rhs );
Overloads the std::swap algorithm for std::basic_spanstream. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs).
π«Ά Parameters
lhs,rhsβ streams whose state to swap
π Return value
(none) β literally no return value, bestie π
π Exceptions
May throw implementation-defined exceptions.
bestie, that means the implementation gets to decide what it throws β donβt go assuming itβs always chill π
π Example
This section is incomplete.
Reason: no example.
π See also
swapβ swaps twobasic_spanstreamobjects(C++23)(public member function)
π¦ Category:
- Todo no example
mwah π thatβs the whole page β source: http://cppreference.com, version/date: 2024.06.10. bye bestie π«Άβ¨
π¦ 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