std::gamma_distribution::param

param_type param() const; (1) (since C++11) void param( const param_type& params ); (2) (since C++11) Manages the associated distribution parameter set. 1) Returns the associated parameter set. 2) Sets the associated parameter set to params. Parameters params - new contents of the associated parameter set Return value 1) The associated parameter set. 2) (none). Complexity Constant.

std::packaged_task::reset

void reset(); (since C++11) Resets the state abandoning the results of previous executions. New shared state is constructed. Equivalent to *this = packaged_task(std::move(f)), where f is the stored task. Parameters (none). Return value (none). Exceptions std::future_error if *this has no shared state. The error condition is set to no_state. std::bad_alloc if there was not enough memory for a new shared state. any exception thrown by the move constructor of the new package

std::max_align_t

Defined in header <cstddef> typedef /*implementation-defined*/ max_align_t; (since C++11) std::max_align_t is a POD type whose alignment requirement is at least as strict (as large) as that of every scalar type. Notes Pointers returned by allocation functions such as std::malloc are suitably aligned for any object, which means they are aligned at least as strict as std::max_align_t. std::max_align_t is usually synonymous with the largest scalar type, which is long double

std::char_traits::eq

(1) static bool eq( char_type a, char_type b ); (until C++11) static constexpr bool eq( char_type a, char_type b ); (since C++11) (2) static bool lt( char_type a, char_type b ); (until C++11) static constexpr bool lt( char_type a, char_type b ); (since C++11) Compares two characters. 1) Compares a and b for equality. 2) Compares a and b in such a way that they are totally ordered. For the char specialization, eq and lt are defined identically to the built-in operato

std::unordered_multimap::find

iterator find( const Key& key ); (1) const_iterator find( const Key& key ) const; (2) 1,2) Finds an element with key equivalent to key. Parameters key - key value of the element to search for Return value Iterator to an element with key equivalent to key. If no such element is found, past-the-end (see end()) iterator is returned. Complexity Constant on average, worst case linear in the size of the container. Example #include <iostream> #includ

std::discard_block_engine::seed

void seed(); (1) (since C++11) void seed( result_type value ); (2) (since C++11) template< class Sseq > void seed( Sseq& seq ); (3) (since C++11) Reinitializes the internal state of the underlying engine using a new seed value. 1) Seeds the underlying engine with the default seed value. Effectively calls e.seed(), where e is the underlying engine. 2) Seeds the underlying engine with the seed value s. Effectively calls e.seed(value), where e is the underlying eng

std::make_unsigned

Defined in header <type_traits> template< class T > struct make_unsigned; (since C++11) If T is an integral (except bool) or enumeration type, provides the member typedef type which is the unsigned integer type corresponding to T, with the same cv-qualifiers. Otherwise, the behavior is undefined. Member types Name Definition type the unsigned integer type corresponding to T Helper types template< class T > using make_unsigned_t = typename make_u

std::cauchy_distribution::param

param_type param() const; (1) (since C++11) void param( const param_type& params ); (2) (since C++11) Manages the associated distribution parameter set. 1) Returns the associated parameter set. 2) Sets the associated parameter set to params. Parameters params - new contents of the associated parameter set Return value 1) The associated parameter set. 2) (none). Complexity Constant.

std::error_condition::operator bool

explicit operator bool() const; (since C++11) Checks whether the stored error code is not zero. Parameters (none). Return value true if value != 0, false otherwise. Exceptions noexcept specification: noexcept

std::shared_mutex::lock_shared

void lock_shared(); (since C++17) 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