std::piecewise_construct_t

Defined in header <utility> struct piecewise_construct_t { }; (since C++11) std::piecewise_construct_t is an empty struct tag type used to disambiguate between different functions that take two tuple arguments. The overloads that do not use std::piecewise_construct_t assume that each tuple argument becomes the element of a pair. The overloads that use std::piecewise_construct_t assume that each tuple argument is used to construct, piecewise, a new object of specified type,

std::partition_point

Defined in header <algorithm> template< class ForwardIt, class UnaryPredicate > ForwardIt partition_point( ForwardIt first, ForwardIt last, UnaryPredicate p ); (1) (since C++11) Examines the partitioned (as if by std::partition) range [first, last) and locates the end of the first partition, that is, the first element that does not satisfy p or last if all elements satisfy p. Parameters first, last - the partitioned range of elements to examine p - unary

std::mersenne_twister_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. Parameters z - integer value specifying the number of times to advance the state by Return value (none). Complexity See also operator() advances the engine's state and returns the generated value (public member function)

std::map::rend

reverse_iterator rend(); const_reverse_iterator rend() const; const_reverse_iterator crend() const; (since C++11) Returns a reverse iterator to the element following the last element of the reversed container. It corresponds to the element preceding the first element of the non-reversed container. This element acts as a placeholder, attempting to access it results in undefined behavior. Parameters (none). Return value Reverse iterator to the element following the last

std::basic_ofstream::is_open

bool is_open(); (until C++11) bool is_open() const; (since C++11) Checks if the file stream has an associated file. Effectively calls rdbuf()->is_open(). Parameters (none). Return value true if the file stream has an associated file, false otherwise. Example See also open opens a file and associates it with the stream (public member function) close closes the associated file (public member function)

std::basic_istream::readsome

std::streamsize readsome( char_type* s, std::streamsize count ); Extracts up to count immediately available characters from the input stream. The extracted characters are stored into the character array pointed to by s. Behaves as UnformattedInputFunction. After constructing and checking the sentry object, If rdbuf()->in_avail() == -1, calls setstate(eofbit) and extracts no characters. If rdbuf()->in_avail() == 0, extracts no characters. If rdbuf()->in_avail() > 0, extr

std::unordered_multiset::rehash

void rehash( size_type count ); (since C++11) Sets the number of buckets to count and rehashes the container, i.e. puts the elements into appropriate buckets considering that total number of buckets has changed. If the new number of buckets makes load factor more than maximum load factor (count < size() / max_load_factor()), then the new number of buckets is at least size() / max_load_factor(). Parameters count - new number of buckets Return value (none). Complexity

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

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::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