std::condition_variable_any::wait

template< class Lock > void wait( Lock& lock ); (1) (since C++11) template< class Lock, class Predicate > void wait( Lock& lock, Predicate pred ); (2) (since C++11) wait causes the current thread to block until the condition variable is notified or a spurious wakeup occurs, optionally looping until some predicate is satisfied. 1) Atomically releases lock, blocks the current executing thread, and adds it to the list of threads waiting on *this. The thread will

std::uninitialized_fill_n

Defined in header <memory> template< class ForwardIt, class Size, class T > void uninitialized_fill_n( ForwardIt first, Size count, const T& value ); (until C++11) template< class ForwardIt, class Size, class T > ForwardIt uninitialized_fill_n( ForwardIt first, Size count, const T& value ); (since C++11) Copies the given value value to the first count elements in an uninitialized memory area beginning at first as if by. for (; n--; ++first) ::new

std::bitset::size

std::size_t size() const; (until C++11) constexpr std::size_t size(); (since C++11) (until C++14) constexpr std::size_t size() const; (since C++14) Returns the number of bits that the bitset can hold. Parameters (none). Return value number of bits that the bitset can hold, i.e. the template parameter N. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) See also count returns the number of bits set to true (public member fun

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

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::is_integral

Defined in header <type_traits> template< class T > struct is_integral; (since C++11) Checks whether T is an integral type. Provides the member constant value which is equal to true, if T is the type bool, char, char16_t, char32_t, wchar_t, short, int, long, long long, or any implementation-defined extended integer types, including any signed, unsigned, and cv-qualified variants. Otherwise, value is equal to false. Template parameters T - a type to check

std::prev_permutation

Defined in header <algorithm> template< class BidirIt > bool prev_permutation( BidirIt first, BidirIt last); (1) template< class BidirIt, class Compare > bool prev_permutation( BidirIt first, BidirIt last, Compare comp); (2) Transforms the range [first, last) into the previous permutation from the set of all permutations that are lexicographically ordered with respect to operator< or comp. Returns true if such permutation exists, otherwise transforms th

std::is_final

Defined in header <type_traits> template< class T > struct is_final; (since C++14) If T is a final class (that is, a class declared with the final specifier), provides the member constant value equal true. For any other type, value is false. If T is a class type, T shall be a complete type; otherwise, the behavior is undefined. Template parameters T - a type to check Helper variable template template< class T > constexpr bool is_final_v = is_fin

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::numeric_limits::traps

static const bool traps (until C++11) static constexpr bool traps (since C++11) The value of std::numeric_limits<T>::traps is true for all arithmetic types T that have at least one value that, if used as an argument to an arithmetic operation, will generate a trap. Standard specializations T value of std::numeric_limits<T>::traps /* non-specialized */ false bool false char usually true signed char usually true unsigned char usually true wcha