std::scalbn

Defined in header <cmath> float scalbn( float x, int exp ); (1) (since C++11) double scalbn( double x, int exp ); (2) (since C++11) long double scalbn( long double x, int exp ); (3) (since C++11) double scalbn( Integral x, int exp ); (4) (since C++11) float scalbln( float x, long exp ); (5) (since C++11) double scalbln( double x, long exp ); (6) (since C++11) long double scalbln( long double x, long exp ); (7) (sin

std::runtime_error

Defined in header <stdexcept> class runtime_error; Defines a type of object to be thrown as exception. It reports errors that are due to events beyond the scope of the program and can not be easily predicted. Exceptions of type std:runtime_error are thrown by the following standard library components: std::locale::locale and std::locale::combine. In addition, the standard exception types std::range_error, std::overflow_error, std::underflow_error, std::regex_error, and std:

std::scanf

Defined in header <cstdio> ​int scanf( const char* format, ... );​ (1) int fscanf( std::FILE* stream, const char* format, ... ); (2) int sscanf( const char* buffer, const char* format, ... ); (3) Reads data from the a variety of sources, interprets it according to format and stores the results into given locations. 1) Reads the data from stdin 2) Reads the data from file stream stream 3) Reads the data from null-terminated character string buffer Paramet

std::rint

Defined in header <cmath> float rint( float arg ); (1) (since C++11) double rint( double arg ); (2) (since C++11) long double rint( long double arg ); (3) (since C++11) double rint( Integral arg ); (4) (since C++11) long lrint( float arg ); (5) (since C++11) long lrint( double arg ); (6) (since C++11) long lrint( long double arg ); (7) (since C++11) long lrint( Integral arg ); (8) (since C++11) long long llrint( float arg ); (9)

std::round

Defined in header <cmath> float round( float arg ); (1) (since C++11) double round( double arg ); (2) (since C++11) long double round( long double arg ); (3) (since C++11) double round( Integral arg ); (4) (since C++11) long lround( float arg ); (5) (since C++11) long lround( double arg ); (6) (since C++11) long lround( long double arg ); (7) (since C++11) long lround( Integral arg ); (8) (since C++11) long long llround( float arg );

std::rotate_copy

Defined in header <algorithm> template< class ForwardIt, class OutputIt > OutputIt rotate_copy( ForwardIt first, ForwardIt n_first, ForwardIt last, OutputIt d_first ); Copies the elements from the range [first, last), to another range beginning at d_first in such a way, that the element n_first becomes the first element of the new range and n_first - 1 becomes the last element. Parameters first, last - the range of elements to copy n_fi

std::rotate

Defined in header <algorithm> template< class ForwardIt > void rotate( ForwardIt first, ForwardIt n_first, ForwardIt last ); (until C++11) template< class ForwardIt > ForwardIt rotate( ForwardIt first, ForwardIt n_first, ForwardIt last ); (since C++11) Performs a left rotation on a range of elements. Specifically, std::rotate swaps the elements in the range [first, last) in such a way that the element n_first becomes the first element of the new range and

std::reverse_iterator

Defined in header <iterator> template< class Iterator > class reverse_iterator : public std::iterator< typename std::iterator_traits<Iterator>::iterator_category, typename std::iterator_traits<Iterator>::value_type, typename std::iterator_traits<Iterator>::difference_type, typename std::iterator_traits<Iterator>::pointer,

std::reverse_iterator::reverse_iterator

reverse_iterator(); (1) explicit reverse_iterator( Iterator x ); (2) template< class U > reverse_iterator( const reverse_iterator<U>& other ); (3) Constructs a new iterator adaptor. 1) Default constructor. current is value-initialized. Operations on the resulting iterator have defined behavior if and only if the corresponding operations on a value-initialized Iterator also have defined behavior. 2) current is initialized with x. 3) Copy constructor. The u

std::reverse_iterator::operator[]

/*unspecified*/ operator[]( difference_type n ) const; Returns a reference to the element at specified relative location. Parameters n - position relative to current location. Return value A reference to the element at relative location, that is, current[-n-1]. Examples See also operator*operator-> accesses the pointed-to element (public member function)