std::localtime

Defined in header <ctime> std::tm* localtime( const std::time_t *time ); Converts given time since epoch as std::time_t value into calendar time, expressed in local time. Parameters time - pointer to a time_t object to convert Return value pointer to a static internal std::tm object on success, or NULL otherwise. The structure may be shared between std::gmtime, std::localtime, and std::ctime, and may be overwritten on each invocation. Notes This function ma

std::numeric_limits::digits

static const int digits; (until C++11) static constexpr int digits; (since C++11) The value of std::numeric_limits<T>::digits is the number of digits in base-radix that can be represented by the type T without change. For integer types, this is the number of bits not counting the sign bit. For floating-point types, this is the number of digits in the mantissa. Standard specializations T value of std::numeric_limits<T>::digits /* non-specialized */ ​0​ bool

std::numeric_limits::max_exponent

static const int max_exponent; (until C++11) static constexpr int max_exponent; (since C++11) The value of std::numeric_limits<T>::max_exponent is the largest positive number n such that 2n-1 is a representable finite value of the floating-point type T. Standard specializations T value of std::numeric_limits<T>::max_exponent /* non-specialized */ ​0​ bool ​0​ char ​0​ signed char ​0​ unsigned char ​0​ wchar_t ​0​ char16_t ​0​ char32_

std::numeric_limits::min_exponent

static const int min_exponent; (until C++11) static constexpr int min_exponent; (since C++11) The value of std::numeric_limits<T>::min_exponent is the lowest negative number n such that rn-1, where r is std::numeric_limits<T>::radix is a valid normalized value of the floating-point type T. Standard specializations T value of std::numeric_limits<T>::min_exponent /* non-specialized */ ​0​ bool ​0​ char ​0​ signed char ​0​ unsigned char ​0​

std::rank

Defined in header <type_traits> template< class T > struct rank; (since C++11) If T is an array type, provides the member constant value equal to the number of dimensions of the array. For any other type, value is 0. Helper variable template template< class T > constexpr std::size_t rank_v = rank<T>::value; (since C++17) Inherited from std::integral_constant Member constants value [static] the number of dimensions of T or zero (publ

std::remove_extent

Defined in header <type_traits> template< class T > struct remove_extent; (since C++11) If T is an array of some type X, provides the member typedef type equal to X, otherwise type is T. Note that if T is a multidimensional array, only the first dimension is removed. Member types Name Definition type the type of the element of T Helper types template< class T > using remove_extent_t = typename remove_extent<T>::type; (since C++14)

std::swap(std::tuple)

template< class... Types > void swap( tuple<Types...>& lhs, tuple<Types...>& rhs ); (since C++11) Swaps the contents of lhs and rhs. Equivalent to lhs.swap(rhs). Parameters lhs, rhs - tuples whose contents to swap Return value (none). Exceptions noexcept specification: noexcept(noexcept(lhs.swap(rhs))) See also

std::codecvt_mode

Defined in header <locale> enum codecvt_mode { consume_header = 4, generate_header = 2, little_endian = 1 }; The facets std::codecvt_utf8, std::codecvt_utf16, and std::codecvt_utf8_utf16 accept an optional value of type std::codecvt_mode as a template argument, which specifies optional features of the unicode string conversion. Constants Defined in header <locale> Value Meaning little_endian assume the input is in little-endian byte order (app

std::independent_bits_engine::discard

void discard( unsigned long long z ); (since C++11) Advances the internal state by z times. Equivalent to calling operator() z times and discarding the result. The state of the underlying engine may be advanced by more than z times. Parameters z - integer value specifying the number of times to advance the state by Return value (none). Exceptions (none). See also operator() advances the state of the underlying engine and returns the generated value (public membe

UnformattedInputFunction

Requirements An UnformattedInputFunction is a stream input function that performs the following: Constructs an object of type basic_istream::sentry with automatic storage duration and with the noskipws argument set to true, which performs the following if eofbit or badbit are set on the input stream, sets the failbit as well, and if exceptions on failbit are enabled in this input stream's exception mask, throws ios_base::failure. flushes the tie()'d output stream, if applicable Checks