std::experimental::bad_array_length

After reviewing national body comments to n3690, arrays of runtime bound and the dynarray library component was voted out from C++14 working paper into a separate Technical Specification. This class is not a part of the draft C++14 as of n3797 Defined in header <experimental/new> class bad_array_length : public std::bad_alloc; std::bad_array_length is the type of the object thrown as exceptions by the constructors of arrays of runtime bound and objects of type std:

std::exp2

Defined in header <cmath> double exp2( double n ); (1) (since C++11) float exp2( float n ); (2) (since C++11) long double exp2( long double n ); (3) (since C++11) double exp2( Integral n ); (4) (since C++11) 1-3) Computes 2 raised to the given power n 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 n - value of floating-point or

std::exp(std::valarray)

Defined in header <valarray> template< class T > valarray<T> exp( const valarray<T>& va ); For each element in va computes e raised to the power equal to the value of the element. Parameters va - value array to apply the operation to Return value Value array containing e raised by the values in va. Notes Unqualified function (exp) is used to perform the computation. If such function is not available, std::exp is used due to argument de

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

Defined in header <cmath> float exp( float arg ); (1) double exp( double arg ); (2) long double exp( long double arg ); (3) double exp( Integral arg ); (4) (since C++11) Computes the e (Euler's number, 2.7182818) raised to the given power 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 floating-point or Integra

std::exit

Defined in header <cstdlib> void exit( int exit_code ); (until C++11) [[noreturn]] void exit( int exit_code ); (since C++11) Causes normal program termination to occur. Several cleanup steps are performed: 1) destructors of objects with static storage duration are called in reverse order of completion of their constructors or the completion of their dynamic initialization, and the functions passed to std::atexit are called in reverse order they are regi

std::exchange

Defined in header <utility> template< class T, class U = T > T exchange( T& obj, U&& new_value ); (since C++14) Replaces the value of obj with new_value and returns the old value of obj. Parameters obj - object whose value to replace new_value - the value to assign to obj Type requirements - T must meet the requirements of MoveConstructible. Also, it must be possible to move-assign objects of type U to objects of type T Return value

std::exception_ptr

Defined in header <exception> typedef /*unspecified*/ exception_ptr; (since C++11) std::exception_ptr is a nullable pointer-like type that manages an exception object which has been thrown and captured with std::current_exception. An instance of std::exception_ptr may be passed to another function, possibly on another thread, where the exception may be rethrown and handled with a catch clause. A default-constructed std::exception_ptr is a null pointer; it does not point to

std::exception::what

virtual const char* what() const; Returns the explanatory string. Parameters (none). Return value Pointer to a null-terminated string with explanatory information. The pointer is guaranteed to be valid at least until the exception object from which it is obtained is destroyed, or until a non-const member function on the exception object is called. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11)

std::exception::exception

exception(); (1) exception( const exception& other ); (2) Constructs new exception object. 1) Default constructor. what() returns empty string. 2) Copy constructor. Initializes the contents with those of other Parameters other - another exception to assign the contents of Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11)