std::basic_string::rbegin

reverse_iterator rbegin(); const_reverse_iterator rbegin() const; const_reverse_iterator crbegin() const; (since C++11) Returns a reverse iterator to the first character of the reversed string. It corresponds to the last character of the non-reversed string. Parameters (none). Return value reverse iterator to the first character. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. Example #include <iostr

std::char_traits::copy

static char_type* copy( char_type* dest, const char_type* src, std::size_t count ); Copies count character from character string pointed to by src to character string pointed to by dest. The behavior is undefined if copied character ranges overlap, i.e. src is in [dest, dest + count). Parameters dest - pointer to a character string to copy to src - pointer to a character string to copy from count - the number of characters to copy Return value dest. Exception

std::basic_filebuf::imbue

protected: virtual void imbue( const std::locale& loc ) Changes the associated locale so that all characters inserted or extracted after this call (and until another call to imbue()) are converted using the std::codecvt facet of loc. If the old locale's encoding is state-dependent and file is not positioned at the beginning, then the new locale must have the same std::codecvt facet as the one previously imbued. Parameters loc - the locale to imbue the stream with Return

std::uses_allocator&lt;std::packaged_task&gt;

template< class R, class Alloc > struct uses_allocator<std::packaged_task<R>, Alloc> : true_type { }; (since C++11) Provides a specialization of the std::uses_allocator type trait for std::packaged_task. Inherited from std::integral_constant Member constants value [static] true (public static member constant) Member functions operator bool converts the object to bool, returns value (public member function) operator() (C++14) returns value (publi

cctype

This header was originally in the C standard library as <ctype.h>. This header is part of the null-terminated byte strings library. Functions isalnum checks if a character is alphanumeric (function) isalpha checks if a character is alphabetic (function) islower checks if a character is lowercase (function) isupper checks if a character is an uppercase character (function) isdigit checks if a character is a digit (function) isxdigit checks if a character i

std::deque::erase

(1) iterator erase( iterator pos ); (until C++11) iterator erase( const_iterator pos ); (since C++11) (2) iterator erase( iterator first, iterator last ); (until C++11) iterator erase( const_iterator first, const_iterator last ); (since C++11) Removes specified elements from the container. 1) Removes the element at pos. 2) Removes the elements in the range [first; last). All iterators and references are invalidated, unless the erased elements are at the end or the be

std::promise

Defined in header <future> template< class R > class promise; (1) (since C++11) template< class R > class promise<R&>; (2) (since C++11) template<> class promise<void>; (3) (since C++11) 1) base template 2) non-void specialization, used to communicate objects between threads 3) void specialization, used to communicate stateless events The class template std::promise provides a facility to store a value or an exceptio

switch statement

Transfers control to one of the several statements, depending on the value of a condition. Syntax attr(optional) switch ( condition ) statement attr(C++11) - any number of attributes condition - any expression of integral or enumeration type, or of a class type contextually implicitly convertible to an integral or enumeration type, or a declaration of a single non-array variable of such type with a brace-or-equals initializer. statement - any statement (typically a c

std::is_signed

Defined in header <type_traits> template< class T > struct is_signed; (since C++11) If T is a signed arithmetic type, provides the member constant value equal true. For any other type, value is false. Template parameters T - a type to check Helper variable template template< class T > constexpr bool is_signed_v = is_signed<T>::value; (since C++17) Inherited from std::integral_constant Member constants value [static] true

std::unordered_set::get_allocator

allocator_type get_allocator() const; (since C++11) Returns the allocator associated with the container. Parameters (none). Return value The associated allocator. Complexity Constant.