std::ostreambuf_iterator::ostreambuf_iterator

ostreambuf_iterator( streambuf_type* buffer ); (1) ostreambuf_iterator( ostream_type& stream ); (2) 1) Constructs the iterator with the private streambuf_type* member set to buffer and the failed() bit set to false. The behavior is undefined if buffer is a null pointer. 2) Same as ostreambuf_iterator(stream.rdbuf()) Parameters stream - the output stream whose rdbuf() will be accessed by this iterator buffer - the output stream buffer to be accessed by this ite

std::fisher_f_distribution

Defined in header <random> template< class RealType = double > class fisher_f_distribution; (since C++11) Produces random numbers according to the f-distribution: p(x;m,n) = Γ((m+n)/2) Γ(m/2) Γ(n/2) (m/n)m/2 x(m/2)-1 (1+ mxn )-(m+n)/2 m and n are the degrees of freedom. std::fisher_f_distribution satisfies all requirements of RandomNumberDistribution. Template parameters RealType - The result type generated by the generator. The effect is undefined i

std::basic_string::front

CharT& front(); (since C++11) const CharT& front() const; (since C++11) Returns reference to the first character in the string. The behavior is undefined if empty() == true. Parameters (none). Return value reference to the first character, equivalent to operator[](0). Complexity Constant. Example #include <iostream> #include <string> int main() { { std::string s("Exemplary"); char& f = s.front(); f = 'e'; std::cout <<

requires

Usage in a function or function template declaration, specifies an associated constraint (concepts TS) specifies an constant expression on template parameters that evaluates a requirement(concepts TS)

std::basic_streambuf::setp

void setp( char_type* pbeg, char_type* pend ); Sets the values of the pointers defining the put area. Specifically, after the call pbase() == pbeg, pptr() == pbeg, epptr() == pend. Parameters pbeg - pointer to the new beginning of the put area pend - pointer to the new end of the put area Return value (none). Example #include <iostream> #include <array> // Buffer for std::ostream implemented by std::array template<std::size_t SIZE, class CharT =

operators (std::piecewise_constant_distribution)

template< class CharT, class Traits, class ResultType > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, const piecewise_constant_distribution<ResultType>& d ); (1) template< class CharT, class Traits, class ResultType > std::basic_istream<CharT,Traits>& operator>>( std::basic_istream<CharT,Traits>& ist,

std::fputs

Defined in header <cstdio> int fputs( const char* str, std::FILE* stream ); Writes given null-terminated character string to the given output stream. Parameters str - null-terminated character string to be written stream - output stream Return value Non-negative integer on success, EOF on failure. See also printffprintfsprintfsnprintf (C++11) prints formatted output to stdout, a file stream or a buffer (function) puts writes a character str

std::inserter

Defined in header <iterator> template< class Container > std::insert_iterator<Container> inserter( Container& c, typename Container::iterator i ); inserter is a convenience function template that constructs a std::insert_iterator for the container c and its iterator i with the type deduced from the type of the argument. Parameters c - container that supports a insert operation i - iterator in c indicating the insertion position Return valu

std::time_get_byname

Defined in header <locale> template< class CharT, class InputIterator = std::istreambuf_iterator<CharT> > class time_get_byname : public std::time_get<CharT, InputIterator> std::time_get_byname is a std::time_get facet which encapsulates time and date parsing rules of the locale specified at its construction. Two specializations are provided by the standard library. Defined in header <locale> std::time_get_byname<char, InputIterator>

std::stoul

Defined in header <string> unsigned long stoul( const std::string& str, std::size_t* pos = 0, int base = 10 ); unsigned long stoul( const std::wstring& str, std::size_t* pos = 0, int base = 10 ); (1) (since C++11) unsigned long long stoull( const std::string& str, std::size_t* pos = 0, int base = 10 ); unsigned long long stoull( const std::wstring& str, std::size_t* pos = 0, int base = 10 ); (2) (since C++11) Interprets an unsigned integer va