std::thread::id::id

id(); (since C++11) Default-constructs a new thread identifier. The identifier does not represent a thread. Parameters (none). Exceptions noexcept specification: noexcept

std::complex::real

primary template complex<T> T real() const; (1) (until C++14) constexpr T real() const; (1) (since C++14) void real( T value ); (2) specialization complex<float> float real() const; (1) (until C++11) constexpr float real(); (1) (since C++11) (until C++14) constexpr float real() const; (1) (since C++14) void real( float value ); (2) specialization complex<double> double real() const; (1) (until C++11) constexpr double

std::swap(std::array)

template< class T, std::size_t N > void swap( array<T,N>& lhs, array<T,N>& rhs ); (since C++11) Specializes the std::swap algorithm for std::array. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - containers whose contents to swap Return value (none). Complexity Linear in size of the container. Exceptions noexcept specification: noexcept(noexcept(lhs.swap(rhs))) (since C++17) See also swap

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)

int

Usage int type: as the declaration of the type

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

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::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

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

Template parameters and template arguments

Every template is parametrized by one or more template parameters, indicated in the parameter-list of the template declaration syntax: template < parameter-list > declaration (1) Each parameter in parameter-list may be: a non-type template parameter; a type template parameter; a template template parameter. Non-type template parameter type name(optional) (1) type name(optional) = default (2) type ... name(optional) (3) (since C++11) 1) A non-type t