std::cbrt

Defined in header <cmath> float cbrt( float arg ); (1) (since C++11) double cbrt( double arg ); (2) (since C++11) long double cbrt( long double arg ); (3) (since C++11) double cbrt( Integral arg ); (4) (since C++11) Computes the cubic root of arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - value of a floating-point or I

Predicate

The Predicate concept describes a function object that takes a single iterator argument that is dereferenced and used to return a value testable as a bool. In other words, if an algorithm takes a Predicate pred and an iterator first, it should be able to test the iterator using the predicate via a construct like if (pred(*first)) {...}. The function object pred shall not apply any non-constant function through the dereferenced iterator. This function object may be a pointer to function or an ob

std::weibull_distribution::max

result_type max() const; (since C++11) Returns the maximum value potentially generated by the distribution. Parameters (none). Return value The maximum value potentially generated by the distribution. Complexity Constant. See also min returns the minimum potentially generated value (public member function)

operators (std::unordered_map)

template< class Key, class T, class Hash, class KeyEqual, class Allocator > bool operator==( const unordered_map<Key,T,Hash,KeyEqual,Allocator>& lhs, const unordered_map<Key,T,Hash,KeyEqual,Allocator>& rhs ); (1) template< class Key, class T, class Hash, class KeyEqual, class Allocator > bool operator!=( const unordered_map<Key,T,Hash,KeyEqual,Allocator>& lhs, const unordered_map<Key,T,Hash,KeyEqual,Allocato

operators (std::fisher_f_distribution)

template< class ResultType > bool operator==( const fisher_f_distribution<ResultType>& lhs, const fisher_f_distribution<ResultType>& rhs ); (1) template< class ResultType > bool operator!=( const fisher_f_distribution<ResultType>& lhs, const fisher_f_distribution<ResultType>& rhs ); (2) Compares two distribution objects. Two distribution objects are equal when parameter values and internal state

std::begin(std::valarray)

template< class T > /*unspecified1*/ begin( valarray<T>& v ); (1) (since C++11) template< class T > /*unspecified2*/ begin( const valarray<T>& v ); (2) (since C++11) The overload of std::begin for valarray returns an iterator of unspecified type referring to the first element in the numeric array. 1) The return type meets the requirements of mutable RandomAccessIterator. 2) The return type meets the requirements of constant RandomAccessIterator.

std::unordered_multiset::clear

void clear(); (since C++11) Removes all elements from the container. Invalidates any references, pointers, or iterators referring to contained elements. May invalidate any past-the-end iterators. Parameters (none). Return value (none). Exceptions noexcept specification: noexcept Complexity Linear in the size of the container. See also erase erases elements (public member function)

std::unordered_multiset::empty

bool empty() const; (since C++11) Checks if the container has no elements, i.e. whether begin() == end(). Parameters (none). Return value true if the container is empty, false otherwise. Exceptions noexcept specification: noexcept Complexity Constant. Example The following code uses empty to check if a std::unordered_multiset<int> contains any elements: #include <unordered_set> #include <iostream> int main() { std::unordered_multiset<int>

operators (std::uniform_real_distribution)

template< class CharT, class Traits, class ResultType > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, const uniform_real_distribution<ResultType>& d ); (1) template< class CharT, class Traits, class ResultType > std::basic_istream<CharT,Traits>& operator>>( std::basic_istream<CharT,Traits>& ist,

Mutex

The Mutex concept extends the Lockable concept to include inter-thread synchronization. Requirements Lockable DefaultConstructible Destructible not copyable not movable For object m of Mutex type. The expression m.lock() has the following properties Behaves as an atomic operation. Blocks the calling thread until exclusive ownership of the mutex can be obtained. Prior m.unlock() operations on the same mutex synchronize-with this lock operation (equivalent to release-acquire