std::geometric_distribution::min

result_type min() const; (since C++11) Returns the minimum value potentially generated by the distribution. Parameters (none). Return value The minimum value potentially generated by the distribution. Complexity Constant. See also max returns the maximum potentially generated value (public member function)

std::basic_streambuf::basic_streambuf

protected: basic_streambuf(); (1) protected: basic_streambuf(const basic_streambuf& rhs); (2) (since C++11) 1) Constructs the basic_streambuf object, initializes the six pointer members (eback(), gptr(), egptr(), pbase(), pptr(), and epptr()) to null pointer values, and the locale member to std::locale(), a copy of the global C++ locale at the time of construction. 2) Constructs a copy of rhs, initializing the six pointers and the locale object with the copies of the values

std::plus

Defined in header <functional> template< class T > struct plus; (until C++14) template< class T = void > struct plus; (since C++14) Function object for performing addition. Effectively calls operator+ on two instances of type T. Specializations The standard library provides a specialization of std::plus when T is not specified, which leaves the parameter types and return type to be deduced. plus<void> function object implementing x + y deduci

std::toupper(std::locale)

Defined in header <locale> template< class charT > charT toupper( charT ch, const locale& loc ); Converts the character ch to uppercase if possible, using the conversion rules specified by the given locale's std::ctype facet. Parameters ch - character loc - locale Return value Returns the uppercase form of ch if one is listed in the locale, otherwise return ch unchanged. Notes Only 1:1 character mapping can be performed by this function, e.g

dynamic_cast

Usage dynamic_cast type conversion expression: as the declaration of the expression

std::basic_stringbuf::swap

void swap( std::basic_stringbuf& rhs ) (since C++11) Swaps the state and the contents of *this and rhs. Parameters rhs - another basic_stringbuf Return value (none). Notes This function is called automatically when swapping std::stringstream objects, it is rarely necessary to call it directly. Example #include <sstream> #include <string> #include <iostream> int main() { std::istringstream one("one"); std::ostringstream two("two");

std::ratio

Defined in header <ratio> template< std::intmax_t Num, std::intmax_t Denom = 1 > class ratio; (since C++11) The class template std::ratio provides compile-time rational arithmetic support. Each instantiation of this template exactly represents any finite rational number as long as its numerator Num and denominator Denom are representable as compile-time constants of type std::intmax_t. In addition, Denom may not be zero and may not be equal to the most nega

std::forward_list::assign

void assign( size_type count, const T& value ); (1) (since C++11) template< class InputIt > void assign( InputIt first, InputIt last ); (2) (since C++11) void assign( std::initializer_list<T> ilist ); (3) (since C++11) Replaces the contents of the container. 1) Replaces the contents with count copies of value value 2) Replaces the contents with copies of those in the range [first, last). This overload has the same effect as overload (1) if InputIt is an in

std::allocate_shared

Defined in header <memory> template< class T, class Alloc, class... Args > shared_ptr<T> allocate_shared( const Alloc& alloc, Args... args ); (since C++11) Constructs an object of type T and wraps it in a std::shared_ptr using args as the parameter list for the constructor of T. All memory allocation is done using a copy of alloc, which satisfies the Allocator requirements. The copy constructor and the destructor of Alloc must not throw exceptions. Paramet

std::basic_streambuf::pubseekoff

pos_type pubseekoff( off_type off, ios_base::seekdir dir, ios_base::openmode which = ios_base::in | ios_base::out ); (1) protected: virtual pos_type seekoff( off_type off, ios_base::seekdir dir, ios_base::openmode which = ios_base::in | ios_base::out ); (2) Sets the position indicator of the input and/or output sequence relative to some other position. 1) Calls seekoff(off, dir, which) of the most derived class. 2) The base class vers