std::addressof

Defined in header <memory> template< class T > T* addressof(T& arg); (since C++11) Obtains the actual address of the object or function arg, even in presence of overloaded operator& Parameters arg - lvalue object or function Return value Pointer to arg. Exceptions noexcept specification: noexcept Possible implementation template< class T > T* addressof(T& arg) { return reinterpret_cast<T*>( &const_

std::adjacent_difference

Defined in header <numeric> template< class InputIt, class OutputIt > OutputIt adjacent_difference( InputIt first, InputIt last, OutputIt d_first ); (1) template< class InputIt, class OutputIt, class BinaryOperation > OutputIt adjacent_difference( InputIt first, InputIt last, OutputIt d_first, BinaryOperation op ); (2) Computes the differences between the second and the first of each adjacent pa

std::add_lvalue_reference

Defined in header <type_traits> template< class T > struct add_lvalue_reference; (1) (since C++11) template< class T > struct add_rvalue_reference; (2) (since C++11) Creates a lvalue or rvalue reference type of T. 1) If T is an object or function that isn't cv- or ref- qualified (since C++17), provides a member typedef type which is T&. If T is an rvalue reference to some type U, then type is U&. Otherwise, type is T. 2) If T is an object or func

std::add_pointer

Defined in header <type_traits> template< class T > struct add_pointer; (since C++11) If T is a reference type, then provides the member typedef type which is a pointer to the referred type. Otherwise, if T names an object type, a function type that is not cv- or ref-qualified (since C++17), or a (possibly cv-qualified) void type, provides the member typedef type which is the type T*. Otherwise (if T is a cv- or ref-qualified function type), provides the member typed

std::acosh

Defined in header <cmath> float acosh( float arg ); (1) (since C++11) double acosh( double arg ); (2) (since C++11) long double acosh( long double arg ); (3) (since C++11) double acosh( Integral arg ); (4) (since C++11) Computes the inverse hyperbolic cosine 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

std::acos(std::valarray)

Defined in header <valarray> template< class T > valarray<T> acos( const valarray<T>& va ); For each element in va computes arc cosine of the value of the element. Parameters va - value array to apply the operation to Return value Value array containing arc cosines of the values in va. Notes Unqualified function (acos) is used to perform the computation. If such function is not available, std::acos is used due to argument dependent loo

std::acosh(std::complex)

Defined in header <complex> template< class T > complex<T> acosh( const complex<T>& z ); (since C++11) Computes complex arc hyperbolic sine of a complex value z with branch cut at values less than 1 along the real axis. Parameters z - complex value Return value If no errors occur, the complex arc hyperbolic cosine of z is returned, in the range of a half-strip of nonnegative values along the real axis and in the interval [−iπ; +iπ] along

std::accumulate

Defined in header <numeric> template< class InputIt, class T > T accumulate( InputIt first, InputIt last, T init ); (1) template< class InputIt, class T, class BinaryOperation > T accumulate( InputIt first, InputIt last, T init, BinaryOperation op ); (2) Computes the sum of the given value init and the elements in the range [first, last). The first version uses operator+ to sum up the elements, the second version uses the given binary functio

std::acos(std::complex)

Defined in header <complex> template< class T > complex<T> acos( const complex<T>& z ); (since C++11) Computes complex arc cosine of a complex value z. Branch cuts exist outside the interval [−1 ; +1] along the real axis. Parameters z - complex value Return value If no errors occur, complex arc cosine of z is returned, in the range [0 ; ∞) along the real axis and in the range [−iπ ; iπ] along the imaginary axis. Error handling and spec

std::acos

Defined in header <cmath> float acos( float arg ); (1) double acos( double arg ); (2) long double acos( long double arg ); (3) double acos( Integral arg ); (4) (since C++11) Computes the principal value of the arc cosine 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 Integral type R