initializer_list

This header is part of the utility library. Classes std::initializer_list(C++11) (class template) Functions std::begin(std::initializer_list) (C++11) specializes std::begin (function template) std::end(std::initializer_list) (C++11) specializes std::end (function template) Synopsis namespace std { template<class E> class initializer_list { public: typedef E value_type; typedef const E& reference; typedef const E& const

std::regex_iterator::operators (int)

regex_iterator& operator++(); (since C++11) regex_iterator operator++(int); (since C++11) Advances the iterator on the next match. At first, a local variable of type BidirIt is constructed with the value of match[0].second. If the iterator holds a zero-length match and start == end, *this is set to end-of-sequence iterator and the function returns. Otherwise, if the iterator holds a zero-length match the operator invokes the following: regex_search(start, end, match, *pregex,

std::numeric_limits::is_modulo

static const bool is_modulo; (until C++11) static constexpr bool is_modulo; (since C++11) The value of std::numeric_limits<T>::is_modulo is true for all arithmetic types T that handle overflows with modulo arithmetic, that is, if the result of addition, subtraction, multiplication, or division of this type would fall outside the range [min(), max()], the value returned by such operation differs from the expected value by a multiple of max()-min()+1. Standard specialization

std::system

Defined in header <cstdlib> int system( const char* command ); Calls the host environment's command processor (/bin/sh, cmd.exe, command.com) with the parameter command. Returns an implementation-defined value (usually the value that the invoked program returns). If command is a null pointer, checks if host environment has a command processor and returns nonzero value only if the command processor exists. Parameters command - character string identifying the command

Low level memory management

The new-expression is the only way to create an object or an array of objects with dynamic storage duration, that is, with lifetime not restricted to the scope in which it is created. A new-expression obtains storage by calling an allocation function. A delete-expression destroys a most derived object or an array created by a new-expression and calls the deallocation function. The default allocation and deallocation functions, along with related functions, types, and objects, are declared in th

std::bernoulli_distribution::p

double p() const; (since C++11) Returns the p parameter the distribution was constructed with. It defines the probability of generating true. The default value is 0.5. Parameters (none). Return value Floating point value identifying the p distribution parameter. See also param gets or sets the distribution parameter object (public member function)

operators (std::chrono::duration)

template< class Rep1, class Period1, class Rep2, class Period2 > typename std::common_type<duration<Rep1,Period1>, duration<Rep2,Period2>>::type constexpr operator+( const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs ); (1) template< class Rep1, class Period1, class Rep2, class Period2 > typename std::common_type<duration<Rep1,Period1>, duration<Rep2,Period2>>::type cons

std::cosh

Defined in header <cmath> float cosh( float arg ); (1) double cosh( double arg ); (2) long double cosh( long double arg ); (3) double cosh( Integral arg ); (4) (since C++11) Computes the hyperbolic cosine of arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - value of a floating-point or Integral type Return value If

std::collate::transform

Defined in header <locale> public: string_type transform( const CharT* low, const CharT* high ) const; (1) protected: virtual string_type do_transform( const CharT* low, const CharT* high ) const; (2) 1) Public member function, calls the protected virtual member function do_transform of the most derived class. 2) Converts the character sequence [low, high) to a string that, compared lexicographically (e.g. with operator< for strings) with the result of calling tr

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