std::auto_ptr::operator auto_ptr<Y>

template< class Y > operator auto_ptr_ref<Y>(); (1) (deprecated) template< class Y > operator auto_ptr<Y>(); (2) (deprecated) Converts *this to an auto_ptr for a different type Y. 1) Returns an implementation-defined type that holds a reference to *this. std::auto_ptr is convertible and assignable from this template. The implementation is allowed to provide the template with a different name or implement equivalent functionality in other ways. 2) Construc

std::exp(std::complex)

Defined in header <complex> template< class T > complex<T> exp( const complex<T>& z ); Compute base-e exponential of z, that is e (Euler's number, 2.7182818) raised to the z power. Parameters z - complex value Return value If no errors occur, e raised to the power of z, ez, is returned. Error handling and special values Errors are reported consistent with math_errhandling. If the implementation supports IEEE floating-point arithmetic,

std::unordered_multimap::swap

void swap( unordered_multimap& other ); (since C++11) Exchanges the contents of the container with those of other. Does not invoke any move, copy, or swap operations on individual elements. All iterators and references remain valid. The past-the-end iterator is invalidated. The Hash and KeyEqual objects must be Swappable, and they are exchanged using unqualified calls to non-member swap. If std::allocator_traits<allocator_type>::propagate_on_container_swap::value is true, the

operators (std::complex)

Defined in header <complex> template< class T > bool operator==( const complex<T>& lhs, const complex<T>& rhs); (1) (until C++14) template< class T > constexpr bool operator==( const complex<T>& lhs, const complex<T>& rhs); (1) (since C++14) template< class T > bool operator==( const complex<T>& lhs, const T& rhs); (2) (until C++14) template< class T > constexpr bool operator==( const c

TrivialClock

The TrivialClock concept describes the requirements satisfied by all the clocks in the chrono library. Requirements For a type TC: The type must meet Clock requirements. The types TC::rep, TC::duration, and TC::time_point satisfy the requirements of EqualityComparable, LessThanComparable, DefaultConstructible, CopyConstructible, CopyAssignable, Destructible, and NumericType. lvalues of the types TC::rep, TC::duration, and TC::time_point are Swappable. The function TC::now() does not t

std::unique_lock::swap

void swap( unique_lock& other ); (since C++11) Exchanges the internal states of the lock objects. Parameters other - the lock to swap the state with Return value (none). Exceptions noexcept specification: noexcept Example See also std::swap(std::unique_lock) (C++11) specialization of std::swap for unique_lock (function template)

std::type_info::name

const char* name() const; Returns an implementation defined null-terminated character string containing the name of the type. No guarantees are given, in particular, the returned string can be identical for several types and change between invocations of the same program. Parameters (none). Return value null-terminated character string containing the name of the type. Notes With compilers such as gcc and clang, the returned string can be piped through c++filt -t to be converted

std::bernoulli_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::shared_lock::unlock

void unlock(); (since C++14) Unlocks the associated mutex from shared mode. Effectively calls mutex()->unlock_shared(). std::system_error is thrown if there is no associated mutex or if the mutex is not locked. Parameters (none). Return value (none). Exceptions Any exceptions thrown by mutex()->unlock_shared() If there is no associated mutex, std::system_error with an error code of std::errc::operation_not_permitted Example See also lock locks the associat

std::packaged_task::valid

bool valid() const; (since C++11) Checks whether *this has a shared state. Parameters (none). Return value true if *this has a shared state, false otherwise. Exceptions noexcept specification: noexcept