std::ostrstream::ostrstream

ostrstream(); (1) ostrstream(char* s, int n, std::ios_base::openmode mode = std::ios_base::out); (2) Constructs new output strstream and its underlying std::strstreambuf. 1) Default-constructs the underlying std::strstreambuf, which creates a dynamically growing buffer, and initializes the base class with the address of the strstreambuf member. 2) Initialized the base class with the address of the underlying std::strstreambuf member, which is initialized in one of the two possib

std::condition_variable::wait_for

template< class Rep, class Period > std::cv_status wait_for( std::unique_lock<std::mutex>& lock, const std::chrono::duration<Rep, Period>& rel_time); (1) (since C++11) template< class Rep, class Period, class Predicate > bool wait_for( std::unique_lock<std::mutex>& lock, const std::chrono::duration<Rep, Period>& rel_time, Predicate pred); (2) (since C++11) 1) Atomically rele

std::strtoimax

Defined in header <cinttypes> std::intmax_t strtoimax( const char* nptr, char** endptr, int base ); (since C++11) std::uintmax_t strtoumax( const char* nptr, char** endptr, int base ); (since C++11) Interprets an integer value in a byte string pointed to by nptr. Discards any whitespace characters (as identified by calling isspace()) until the first non-whitespace character is found, then takes as many characters as possible to form a valid base-n (where n=base) integ

std::basic_string::find_first_not_of

size_type find_first_not_of( const basic_string& str, size_type pos = 0 ) const; (1) size_type find_first_not_of( const CharT* s, size_type pos, size_type count ) const; (2) size_type find_first_not_of( const CharT* s, size_type pos = 0 ) const; (3) size_type find_first_not_of( CharT ch, size_type pos = 0 ) const; (4) Finds the first character equal to none of the characters in the given character sequence. The search considers only the interval [pos, size()). If t

std::numeric_limits::denorm_min

static T denorm_min(); (until C++11) static constexpr T denorm_min(); (since C++11) Returns the minimum positive subnormal value of the type T, if std::numeric_limits<T>::has_denorm != std::denorm_absent, otherwise returns std::numeric_limits<T>::min(). Only meaningful for floating-point types. Return value T std::numeric_limits<T>::denorm_min() /* non-specialized */ T(); bool false char ​0​ signed char ​0​ unsigned char ​0​ wchar_t

std::nextafter

Defined in header <cmath> float nextafter( float from, float to ); (1) (since C++11) double nextafter( double from, double to ); (2) (since C++11) long double nextafter( long double from, long double to ); (3) (since C++11) Promoted nextafter( Arithmetic from, Arithmetic to ); (4) (since C++11) float nexttoward( float from, long double to ); (5) (since C++11) double nexttoward( double from, long double to ); (6) (since C++

std::vector::rbegin

reverse_iterator rbegin(); const_reverse_iterator rbegin() const; const_reverse_iterator crbegin() const; (since C++11) Returns a reverse iterator to the first element of the reversed container. It corresponds to the last element of the non-reversed container. Parameters (none). Return value Reverse iterator to the first element. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. See also rend crend r

std::deque::max_size

size_type max_size() const; Returns the maximum number of elements the container is able to hold due to system or library implementation limitations, i.e. std::distance(begin(), end()) for the largest container. Parameters (none). Return value Maximum number of elements. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. Notes This value is typically equal to std::numeric_limits<size_type>::max(), and reflects the

std::rend

Defined in header <iterator> template< class C > auto rend( C& c ) -> decltype(c.rend()); (1) (since C++14) template< class C > auto rend( const C& c ) -> decltype(c.rend()); (1) (since C++14) template< class T, size_t N > reverse_iterator<T*> rend( T (&array)[N] ); (2) (since C++14) template< class C > auto crend( const C& c ) -> decltype(std::rend(c)); (3) (since C++14) Returns an iterator to the

Declarations

Declarations introduce (or re-introduce) names into the C++ program. Each kind of entity is declared differently. Definitions are declarations that are sufficient to use the entity identified by the name. A declaration is one of the following: Function declaration Template declaration Explicit template instantiation Explicit template specialization Namespace definition Linkage specification Attribute declaration (attr ;) (since C++11) Empty declaration (;) Block declaration (a