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:

float

Usage float type: as the declaration of the type

std::fdim

Defined in header <cmath> float fdim( float x, float y ); (1) (since C++11) double fdim( double x, double y ); (2) (since C++11) long double fdim( long double x, long double y ); (3) (since C++11) Promoted fdim( Arithmetic1 x, Arithmetic2 y ); (4) (since C++11) 1-3) Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0. 4) A set of overloads or a function template for all combinatio

std::deque::rbegin

reverse_iterator rbegin(); const_reverse_iterator rbegin() const; const_reverse_iterator crbegin() const; (since C++11) Returns a reverse iterator to the first element of the reversed container. It corresponds to the last element of the non-reversed container. Parameters (none). Return value Reverse iterator to the first element. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. See also rend crend r

std::generate

Defined in header <algorithm> template< class ForwardIt, class Generator > void generate( ForwardIt first, ForwardIt last, Generator g ); Assigns each element in range [first, last) a value generated by the given function object g. Parameters first, last - the range of elements to generate g - generator function object that will be called. The signature of the function should be equivalent to the following: Ret fun(); The type Ret must be such that

std::unordered_map::bucket

size_type bucket( const Key& key ) const; (since C++11) Returns the index of the bucket for key key. Elements (if any) with keys equivalent to key are always found in this bucket. The returned value is valid only for instances of the container for which bucket_count() returns the same value. The behavior is undefined if bucket_count() is zero. Parameters key - the value of the key to examine Return value Bucket index for the key key. Complexity Constant. See also

std::discard_block_engine::base

const Engine& base() const; (since C++11) Returns the underlying engine. Parameters (none). Return value The underlying engine. Exceptions noexcept specification: noexcept

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

reinterpret_cast conversion

Converts between types by reinterpreting the underlying bit pattern. Syntax reinterpret_cast < new_type > ( expression ) Returns a value of type new_type. Explanation Unlike static_cast, but like const_cast, the reinterpret_cast expression does not compile to any CPU instructions. It is purely a compiler directive which instructs the compiler to treat the sequence of bits (object representation) of expression as if it had the type new_type. Only the following conversions can

std::isalpha

Defined in header <cctype> int isalpha( int ch ); Checks if the given character is an alphabetic character as classified by the currently installed C locale. In the default locale, the following characters are alphabetic: uppercase letters ABCDEFGHIJKLMNOPQRSTUVWXYZ lowercase letters abcdefghijklmnopqrstuvwxyz In locales other than "C", an alphabetic character is a character for which std::isupper() or std::islower() returns non-zero or any other character considered