std::discard_block_engine::discard_block_engine

discard_block_engine(); (1) (since C++11) explicit discard_block_engine( result_type s ); (2) (since C++11) template< class Sseq > explicit discard_block_engine( Sseq& seq ); (3) (since C++11) explicit discard_block_engine( const Engine& e ); (4) (since C++11) explicit discard_block_engine( Engine&& e ); (5) (since C++11) Constructs new pseudo-random engine adaptor. 1) Default constructor. The underlying engine is also default-constructed.

std::shared_timed_mutex::lock_shared

void lock_shared(); (since C++14) Acquires shared ownership of the mutex. If another thread is holding the mutex in exclusive ownership, a call to lock_shared will block execution until shared ownership can be acquired. If lock_shared is called by a thread that already owns the mutex in any mode (exclusive or shared), the behavior is undefined. If more than the implementation-defined maximum number of shared owners already locked the mutex in shared mode, lock_shared blocks execution un

Pointer declaration

Declares a variable of a pointer or pointer-to-member type. Syntax A pointer declaration is any simple declaration whose declarator has the form. * attr(optional) cv(optional) declarator (1) nested-name-specifier * attr(optional) cv(optional) declarator (2) 1) Pointer declarator: the declaration S* D; declares D as a pointer to the type determined by decl-specifier-seq S. 2) Pointer to member declarator: the declaration S C::* D; declares D as a pointer to member of C of type

std::seed_seq::param

template< class OutputIt > void param( OutputIt dest ) const; (since C++11) Outputs the initial seed sequence that's stored in the std::seed_seq object. Parameters dest - output iterator such that the expression *dest=rt is valid for a value rt of result_type Type requirements - OutputIt must meet the requirements of OutputIterator. Return value (none). Exceptions Throws only if an operation on dest throws. Example #include <random> #include <ios

std::forward_list::front

reference front(); (since C++11) const_reference front() const; (since C++11) Returns a reference to the first element in the container. Calling front on an empty container is undefined. Parameters (none). Return value reference to the first element. Complexity Constant. Notes For a container c, the expression c.front() is equivalent to *c.begin(). Example The following code uses front to display the first element of a std::forward_list<char>: #include <fo

std::forward_list::max_size

size_type max_size() const; (since C++11) 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 noexcept specification: noexcept Complexity Constant. Notes This value is typically equal to std::numeric_limits<size_type>::max(), and reflects the theoretical limit on t

std::forward_list::pop_front

void pop_front(); (since C++11) Removes the first element of the container. References and iterators to the erased element are invalidated. Parameters (none). Return value (none). Complexity Constant. Exceptions Does not throw. See also push_front inserts an element to the beginning (public member function)

std::forward_list::push_front

void push_front( const T& value ); (since C++11) void push_front( T&& value ); (since C++11) Prepends the given element value to the beginning of the container. No iterators or references are invalidated. Parameters value - the value of the element to prepend Return value (none). Complexity Constant. Exceptions If an exception is thrown, this function has no effect (strong exception guarantee). See also emplace_front constructs an element in-

std::reverse_iterator::base

Iterator base() const; Returns the underlying base iterator. That is std::reverse_iterator(it).base() == it. The base iterator refers to the element that is next (from the std::reverse_iterator::iterator_type perspective) to the element the reverse_iterator is currently pointing to. That is &*(rit.base() - 1) == &*rit. Parameters (none). Return value The underlying iterator. Exceptions (none). Example #include <iostream> #include <iterator> #include <

std::wcscpy

Defined in header <cwchar> wchar_t *wcscpy( wchar_t *dest, const wchar_t *src ); Copies the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest. If the strings overlap, the behavior is undefined. Parameters dest - pointer to the wide character array to copy to src - pointer to the null-terminated wide string to copy from Return value dest. Example #include <iostream> #include