std::next_permutation

Defined in header <algorithm> template< class BidirIt > bool next_permutation( BidirIt first, BidirIt last ); (1) template< class BidirIt, class Compare > bool next_permutation( BidirIt first, BidirIt last, Compare comp ); (2) Transforms the range [first, last) into the next permutation from the set of all permutations that are lexicographically ordered with respect to operator< or comp. Returns true if such permutation exists, otherwise transforms the

std::nextafter

Defined in header <cmath> float nextafter( float from, float to ); (1) (since C++11) double nextafter( double from, double to ); (2) (since C++11) long double nextafter( long double from, long double to ); (3) (since C++11) Promoted nextafter( Arithmetic from, Arithmetic to ); (4) (since C++11) float nexttoward( float from, long double to ); (5) (since C++11) double nexttoward( double from, long double to ); (6) (since C++

std::next

Defined in header <iterator> template< class ForwardIt > ForwardIt next( ForwardIt it, typename std::iterator_traits<ForwardIt>::difference_type n = 1 ); (since C++11) (until C++17) template< class InputIt > InputIt next( InputIt it, typename std::iterator_traits<InputIt>::difference_type n = 1 ); (since C++17) Return the nth successor of iterator it. Parameters it - an iterator n - number of elemen

std::new_handler

Defined in header <new> typedef void (*new_handler)(); std::new_handler is the function pointer type (pointer to function that takes no arguments and returns void), which is used by the functions std::set_new_handler and std::get_new_handler. See also operator newoperator new[] allocation functions (function) set_new_handler registers a new handler (function) get_new_handler (C++11) obtains the current new handler (function)

std::nested_exception::rethrow_nested

[[noreturn]] void rethrow_nested() const; (since C++11) Rethrows the stored exception. If there is no stored exceptions (i.e. nested_ptr() returns null pointer), then std::terminate is called. Parameters (none). Return value (none).

std::nested_exception::nested_ptr

std::exception_ptr nested_ptr() const; (since C++11) Returns a pointer to the stored exception, if any. Parameters (none). Return value (none). Exceptions noexcept specification: noexcept

std::nested_exception::nested_exception

nested_exception(); (1) (since C++11) nested_exception( const nested_exception& other ) = default; (2) (since C++11) Constructs new nested_exception object. 1) Default constructor. Stores an exception object obtained by calling std::current_exception() within the new nested_exception object. 2) Copy constructor. Initializes the object with the exception stored in other. Parameters other - nested exception to initialize the contents with Exceptions noexcept sp

std::nested_exception

Defined in header <exception> class nested_exception; (since C++11) std::nested_exceptions is a polymorphic mixin class which can capture and store the current exception, making it possible to nest exceptions of arbitrary types within each other. Member functions (constructor) constructs a nested_exception (public member function) (destructor) [virtual] destructs a nested exception (virtual public member function) operator= replaces the contents of a ne

std::negative_binomial_distribution::reset

void reset(); (since C++11) Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). Parameters (none). Return value (none). Complexity Constant.

std::negative_binomial_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.