std::swap(std::basic_stringbuf)

template< class CharT, class Traits, class Alloc > void swap( std::basic_stringbuf<CharT,Traits,Alloc>& lhs, std::basic_stringbuf<CharT,Traits,Alloc>& rhs ); (since C++11) Overloads the std::swap algorithm for std::basic_stringbuf. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs). Parameters lhs, rhs - std::basic_stringbuf objects whose states to swap Return value (none). Example See also swap (C++11

std::swap(std::basic_ostringstream)

template< class CharT, class Traits, class Alloc > void swap( std::basic_ostringstream<CharT,Traits,Alloc>& lhs, std::basic_ostringstream<CharT,Traits,Alloc>& rhs ); Specializes the std::swap algorithm for std::basic_ostringstream. 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). Exceptions (none). Example See also swap (C++11

std::swap(std::basic_istringstream)

template< class CharT, class Traits, class Alloc > void swap( std::basic_istringstream<CharT,Traits,Alloc>& lhs, std::basic_istringstream<CharT,Traits,Alloc>& rhs ); Specializes the std::swap algorithm for std::basic_istringstream. 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). Exceptions (none). Example See also swap (C++11

std::swap(std::array)

template< class T, std::size_t N > void swap( array<T,N>& lhs, array<T,N>& rhs ); (since C++11) Specializes the std::swap algorithm for std::array. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - containers whose contents to swap Return value (none). Complexity Linear in size of the container. Exceptions noexcept specification: noexcept(noexcept(lhs.swap(rhs))) (since C++17) See also swap

std::swap(std::basic_ifstream)

template< class CharT, class Traits > void swap( basic_ifstream<CharT,Traits> &lhs, basic_ifstream<CharT,Traits> &rhs ); Specializes the std::swap algorithm for std::basic_ifstream. 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). Exceptions (none). Example See also swap (C++11) swaps two file streams (public member function)

std::swap(std::basic_fstream)

template< class CharT, class Traits > void swap( basic_fstream<CharT,Traits> &lhs, basic_fstream<CharT,Traits> &rhs ); Specializes the std::swap algorithm for std::basic_fstream. 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). Exceptions (none). Example See also swap (C++11) swaps two file streams (public member function)

std::swap(std::basic_filebuf)

template< class CharT, class Traits > void swap( std::basic_filebuf<CharT,Traits>& lhs, std::basic_filebuf<CharT,Traits>& rhs ); (since C++11) Overloads the std::swap algorithm for std::basic_filebuf. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs). Parameters lhs, rhs - std::basic_filebuf objects whose states to swap Return value (none). Example See also swap (C++11) swaps two basic_filebuf obje

std::swap

Defined in header <algorithm> Defined in header <utility> (until C++11)(since C++11) template< class T > void swap( T& a, T& b ); (1) template< class T2, size_t N > void swap( T2 (&a)[N], T2 (&b)[N]); (2) (since C++11) Exchanges the given values. 1) Swaps the values a and b. 2) Swaps the arrays a and b. In effect calls std::swap_ranges(a, a+N, b). Parameters a, b - the values to be swapped Type requirements - T must meet

std::sub_match::length

difference_type length() const; Parameters (none). Return value Returns the number of characters in the match, i.e. std::distance(first, second) if the match is valid, 0 otherwise. Complexity Constant.

std::subtract_with_carry_engine::subtract_with_carry_engine

explicit subtract_with_carry_engine( result_type value = default_seed ); (1) (since C++11) template< class Sseq > explicit subtract_with_carry_engine( Sseq& s ); (2) (since C++11) subtract_with_carry_engine( const subtract_with_carry_engine& ); (3) (since C++11) (implicitly declared) Constructs the pseudo-random number engine. The overload (2) only participate in overload resolution if Sseq qualifies as a SeedSequence. In particular, it is excluded from the se