std::basic_ostringstream::swap

void swap( basic_ostringstream& other ); (since C++11) Exchanges the state of the stream with those of other. This is done by callingbasic_ostream<CharT, Traits>::swap(other) and rdbuf()->swap(*other.rdbuf()). Parameters other - stream to exchange the state with Return value (none). Example See also operator= (C++11) moves the string stream (public member function) swap (C++11) swaps two basic_stringbuf objects (public member function of st

this

Usage this pointer

std::codecvt::in

Defined in header <locale> public: result in( StateT& state, const ExternT* from, const ExternT* from_end, const ExternT*& from_next, InternT* to, InternT* to_end, InternT*& to_next ) const; (1) protected: virtual result do_in( StateT& state, const ExternT* from, const ExternT* from_end, const ExternT*& from_next,

std::map

Defined in header <map> template< class Key, class T, class Compare = std::less<Key>, class Allocator = std::allocator<std::pair<const Key, T> > > class map; std::map is a sorted associative container that contains key-value pairs with unique keys. Keys are sorted by using the comparison function Compare. Search, removal, and insertion operations have logarithmic complexity. Maps are usually implemented as red-black trees. Everywhere

mutex

This header is part of the thread support library. Classes mutex (C++11) provides basic mutual exclusion facility (class) timed_mutex (C++11) provides mutual exclusion facility which implements locking with a timeout (class) recursive_mutex (C++11) provides mutual exclusion facility which can be locked recursively by the same thread (class) recursive_timed_mutex (C++11) provides mutual exclusion facility which can be locked recursively by the same thread and impl

std::vector::reserve

void reserve( size_type new_cap ); Increase the capacity of the container to a value that's greater or equal to new_cap. If new_cap is greater than the current capacity(), new storage is allocated, otherwise the method does nothing. If new_cap is greater than capacity(), all iterators and references, including the past-the-end iterator, are invalidated. Otherwise, no iterators or references are invalidated. Parameters new_cap - new capacity of the container Type requirements

std::basic_stringbuf::seekoff

protected: virtual pos_type seekoff(off_type off, ios_base::seekdir dir, ios_base::openmode which = ios_base::in | ios_base::out); Repositions std::basic_streambuf::gptr and/or std::basic_streambuf::pptr, if possible, to the position that corresponds to exactly off characters from beginning, end, or current position of the get and/or put area of the buffer. If which includes ios_base::in and this buffer is open for reading (that is, if

Class template

A class template defines a family of classes. Syntax template < parameter-list > class-declaration (1) export template < parameter-list > class-declaration (2) (until C++11) Explanation class-declaration - a class declaration. The class name declared become a template name. parameter-list - a non-empty comma-separated list of the template parameters, each of which is either non-type parameter, a type parameter, a template parameter, or a parameter pack

std::exchange

Defined in header <utility> template< class T, class U = T > T exchange( T& obj, U&& new_value ); (since C++14) Replaces the value of obj with new_value and returns the old value of obj. Parameters obj - object whose value to replace new_value - the value to assign to obj Type requirements - T must meet the requirements of MoveConstructible. Also, it must be possible to move-assign objects of type U to objects of type T Return value

std::find_end

Defined in header <algorithm> template< class ForwardIt1, class ForwardIt2 > ForwardIt1 find_end( ForwardIt1 first, ForwardIt1 last, ForwardIt2 s_first, ForwardIt2 s_last ); (1) template< class ForwardIt1, class ForwardIt2, class BinaryPredicate > ForwardIt1 find_end( ForwardIt1 first, ForwardIt1 last, ForwardIt2 s_first, ForwardIt2 s_last, BinaryPredicate p ); (2) Searches for the last subsequence of elements [s_f