operators (std::tuple)

Defined in header <tuple> template< class... TTypes, class... UTypes > bool operator==( const tuple<TTypes...>& lhs, const tuple<UTypes...>& rhs ); (1) (since C++11) (until C++14) template< class... TTypes, class... UTypes > constexpr bool operator==( const tuple<TTypes...>& lhs, const tuple<UTypes...>& rhs ); (1) (since C++14) template< class... TTypes, class... UTypes

std::allocator_arg_t

Defined in header <memory> struct allocator_arg_t {}; (since C++11) std::allocator_arg_t is an empty class type used to disambiguate the overloads of constructors and member functions of allocator-aware objects, including std::tuple, std::function, std::promise, and std::packaged_task. See also allocator_arg (C++11) an object of type std::allocator_arg_t used to select allocator-aware constructors (constant) uses_allocator (C++11) checks if the specified typ

Iterator library

The iterator library provides definitions for five kinds of iterators as well as iterator traits, adapters, and utility functions. Iterator categories There are five (until C++17)six (since C++17) kinds of iterators: InputIterator, OutputIterator, ForwardIterator, BidirectionalIterator, RandomAccessIterator, and ContiguousIterator (since C++17). Instead of being defined by specific types, each category of iterator is defined by the operations that can be performed on it. This definition mean

std::tuple::swap

Defined in header <tuple> void swap( tuple& other ); (since C++11) Calls swap (which might be std::swap, or might be found via ADL) for each element in *this and its corresponding element in other. Parameters other - tuple of values to swap Return value (none). Exceptions noexcept specification: noexcept(noexcept(swap(std::declval<T0&>>(), std::declval<T0&>())) &&noexcept(swap(std::declval<T1&>>(), std::declv

std::invalid_argument

Defined in header <stdexcept> class invalid_argument; Defines a type of object to be thrown as exception. It reports errors that arise because an argument value has not been accepted. This exception is thrown by std::bitset::bitset, and the std::stoi and std::stof families of functions. Inheritance diagram. Member functions (constructor) constructs the exception object (public member function) std::invalid_argument::invalid_argument explicit invalid_ar

std::raise

Defined in header <csignal> int raise( int sig ); Sends signal sig to the program. The signal handler (specified using the std::signal() function) is invoked. If the user-defined signal handling strategy is not set using std::signal() yet, it is implementation-defined whether the signal will be ignored or default handler will be invoked. Parameters sig - the signal to be sent. It can be an implementation-defined value or one of the following values: SIGABRTSIGFPES

int

Usage int type: as the declaration of the type

std::chi_squared_distribution::n

RealType n() const; (since C++11) Returns the n parameter the distribution was constructed with. It specifies the degrees of freedom of the distribution. The default value is 1.0. Parameters (none). Return value The n distribution parameter. See also param gets or sets the distribution parameter object (public member function)

std::shuffle_order_engine::discard

void discard( unsigned long long z ); (since C++11) Advances the internal state by z times. Equivalent to calling operator() z times and discarding the result. The state of the underlying engine may be advanced by more than z times. Parameters z - integer value specifying the number of times to advance the state by Return value (none). Exceptions (none). See also operator() advances the state of the underlying engine and returns the generated value (public membe

std::swap(std::unordered_map)

template< class Key, class T, class Hash, class KeyEqual, class Alloc > void swap( unordered_map<Key,T,Hash,KeyEqual,Alloc>& lhs, unordered_map<Key,T,Hash,KeyEqual,Alloc>& rhs ); (since C++11) Specializes the std::swap algorithm for std::unordered_map. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - containers whose contents to swap Return value (none). Complexity Constant. Exceptions noexcept speci