std::frexp

Defined in header <cmath> float frexp( float arg, int* exp ); (1) double frexp( double arg, int* exp ); (2) long double frexp( long double arg, int* exp ); (3) double frexp( Integral arg, int* exp ); (4) (since C++11) 1-3) Decomposes given floating point value arg into a normalized fraction and an integral power of two. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to (2) (the argumen

operators (std::linear_congruential_engine)

template< class CharT, class Traits, class UIntType, UIntType a, UIntType c, UIntType m > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, const std::linear_congruential_engine<UIntType,a,c,m>& e ); (1) (since C++11) template< class CharT, class Traits, class UIntType, UIntType a, UIntType c, UIntType m > std::basic_istream<CharT,Traits>& operator&g

std::basic_ios::bad

bool bad() const; Returns true if non-recoverable error has occurred on the associated stream. Specifically, returns true if badbit is set in rdstate(). See ios_base::iostate for the list of conditions that set badbit. Parameters (none). Return value true if a non-recoverable error has occurred, false otherwise. Example #include <iostream> #include <fstream> #include <cstdlib> int main() { std::ifstream file("test.txt"); if(!file) // operator! is us

std::chrono::duration::operators

duration& operator++(); (1) duration operator++(int); (2) duration& operator--(); (3) duration operator--(int); (4) Increments or decrements the number of ticks for this duration. If rep_ is a member variable holding the number of ticks in a duration object, 1) Equivalent to ++rep_; return *this; 2) Equivalent to return duration(rep_++) 3) Equivalent to --rep_; return *this; 4) Equivalent to return duration(rep_--); Parameters (none). Return value

std::cauchy_distribution::a

RealType a() const; (1) (since C++11) RealType b() const; (2) (since C++11) Returns the distribution parameters with which the distribution was constructed. 1) Returns the a parameter. It specifies the location of the peak and is also called location parameter. The default value is 0.0. 2) Returns the b parameter. It represents the half-width at half-maximum (HWHM) and is also called scale parameter. The default value is 1.0. Parameters (none). Return value 1) The value o

std::begin(std::valarray)

template< class T > /*unspecified1*/ begin( valarray<T>& v ); (1) (since C++11) template< class T > /*unspecified2*/ begin( const valarray<T>& v ); (2) (since C++11) The overload of std::begin for valarray returns an iterator of unspecified type referring to the first element in the numeric array. 1) The return type meets the requirements of mutable RandomAccessIterator. 2) The return type meets the requirements of constant RandomAccessIterator.

std::wcscat

Defined in header <cwchar> wchar_t *wcscat( wchar_t *dest, const wchar_t *src ); Appends a copy of the wide string pointed to by src to the end of the wide string pointed to by dest. The wide character src[0] replaces the null terminator at the end of dest. The resulting wide string is null-terminated. The behavior is undefined if the destination array is not large enough for the contents of both str and dest and the terminating null wide character. The behavior is undefine

iosfwd

This header contains forward declarations for the Input/output library. Forward declarations Defined in header <string> std::char_traits Class Template which describes properties of a character type (class template) std::char_traits<char> (class template specialization) std::char_traits<wchar_t> (class template specialization) std::char_traits<char16_t> (C++11) (class template specialization) std::char_traits<char32_t> (C++11) (class templ

operators (std::chrono::duration)

template <class Rep1, class Period1, class Rep2, class Period2> constexpr bool operator==(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); (1) template <class Rep1, class Period1, class Rep2, class Period2> constexpr bool operator!=(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); (2) template <class Rep1, class Period1, class Re

std::count

Defined in header <algorithm> template< class InputIt, class T > typename iterator_traits<InputIt>::difference_type count( InputIt first, InputIt last, const T &value ); (1) template< class InputIt, class UnaryPredicate > typename iterator_traits<InputIt>::difference_type count_if( InputIt first, InputIt last, UnaryPredicate p ); (2) Returns the number of elements in the range [first, last) satisfying specific criteria. The first ve