std::packaged_task

Defined in header <future> template< class > class packaged_task; //not defined (1) (since C++11) template< class R, class ...Args > class packaged_task<R(Args...)>; (2) (since C++11) The class template std::packaged_task wraps any Callable target (function, lambda expression, bind expression, or another function object) so that it can be invoked asynchronously. Its return value or exception thrown is stored in a shared state which can be accessed t

std::remove_cv

Defined in header <type_traits> template< class T > struct remove_cv; (1) (since C++11) template< class T > struct remove_const; (2) (since C++11) template< class T > struct remove_volatile; (3) (since C++11) Provides the member typedef type which is the same as T, except that its topmost cv-qualifiers are removed. 1) removes the topmost const, the topmost volatile, or both, if present. 2) removes the topmost const. 3) removes the topmost volat

std::shared_lock::owns_lock

bool owns_lock() const; (since C++14) Checks whether *this owns a locked mutex or not. Parameters (none). Return value true if *this has an associated mutex and has acquired shared ownership of it, false otherwise. Exceptions noexcept specification: noexcept See also operator bool tests whether the lock owns its associated mutex (public member function)

std::modf

Defined in header <cmath> float modf( float x, float* iptr ); (1) double modf( double x, double* iptr ); (2) long double modf( long double x, long double* iptr ); (3) 1-3) Decomposes given floating point value x into integral and fractional parts, each having the same type and sign as x. The integral part (in floating-point format) is stored in the object pointed to by iptr. Parameters x - floating point value iptr - pointer to floating

std::set_unexpected

Defined in header <exception> std::unexpected_handler set_unexpected( std::unexpected_handler f ); (deprecated since C++11) Makes f the new global std::unexpected_handler and returns the previously installed std::unexpected_handler. This function is thread-safe. Every call to std::set_unexpected synchronizes-with (see std::memory_order) the subsequent calls to std::set_unexpected and std::get_unexpected. (since C++11) Parameters f - pointer to function of type s

std::scoped_allocator_adaptor::outer_allocator

Defined in header <scoped_allocator> outer_allocator_type& outer_allocator(); (1) (since C++11) const outer_allocator_type& outer_allocator() const; (2) (since C++11) Obtains a reference to the outer allocator used to declare this class. 1) returns static_cast<OuterAlloc&>(*this). 2) returns static_cast<const OuterAlloc&>(*this). Parameters (none). Return value A reference to OuterAlloc. Exceptions 1-2) noexcept specification: n

std::fegetenv

Defined in header <cfenv> int fegetenv( std::fenv_t* envp ) (1) (since C++11) int fesetenv( const std::fenv_t* envp ); (2) (since C++11) Manages the status of the floating-point environment. 1) Attempts to store the status of the floating-point environment in the object pointed to by envp. 2) Attempts to establish the floating-point environment from the object pointed to by envp. The value of that object must be previously obtained by a call to std::feholdexcept or

std::valarray::max

T max() const; Computes the maximum value of the elements. If there are no elements, the behavior is undefined. The function can be used only if operator< is defined for type T. Parameters (none). Return value The maximum of the elements. Example See also min returns the smallest element (public member function)

offsetof

Defined in header <cstddef> #define offsetof(type, member) /*implementation-defined*/ The macro offsetof expands to a constant of type std::size_t, the value of which is the offset, in bytes, from the beginning of an object of specified type to its specified member, including padding if any. If type is not a standard layout type, the behavior is undefined. If member is a static member or a member function, the behavior is undefined. The offset of the first member of a stand

std::uniform_real_distribution::uniform_real_distribution

explicit uniform_real_distribution( RealType a = 0.0, RealType b = 1.0 ); (1) (since C++11) explicit uniform_real_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters. Parameters a - the a distribution parameter (minimum value) b - the b distribution parameter (maximum value) params - the dis