std::ios_base::event_callback

typedef void (*event_callback)(event type, ios_base& ios, int index); The type of function callbacks that can be registered using register_callback() to be called on specific events. type is a value of type ios_base::event which indicates the type of the event that will invoke this callback. ios refers to the stream object for which the callback is invoked: *this is passed as the argument when callbacks are invoked by std::ios_base and std::basic_ios member functions. index is the u

std::unordered_multimap

Defined in header <unordered_map> template< class Key, class T, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< std::pair<const Key, T> > > class unordered_multimap; (since C++11) Unordered multimap is an unordered associative container that supports equivalent keys (an unordered_multimap may contain multiple copies of each key value) and that associates values of another t

std::strcmp

Defined in header <cstring> int strcmp( const char *lhs, const char *rhs ); Compares two null-terminated byte strings lexicographically. The sign of the result is the sign of the difference between the values of the first pair of characters (both interpreted as unsigned char) that differ in the strings being compared. The behavior is undefined if lhs or rhs are not pointers to null-terminated strings. Parameters lhs, rhs - pointers to the null-terminated byte string

std::numeric_limits::is_exact

static const bool is_exact; (until C++11) static constexpr bool is_exact; (since C++11) The value of std::numeric_limits<T>::is_exact is true for all arithmetic types T that use exact representation. Standard specializations T value of std::numeric_limits<T>::is_exact /* non-specialized */ false bool true char true signed char true unsigned char true wchar_t true char16_t true char32_t true short true unsigned short true

std::vector::max_size

size_type max_size() const; Returns the maximum number of elements the container is able to hold due to system or library implementation limitations, i.e. std::distance(begin(), end()) for the largest container. Parameters (none). Return value Maximum number of elements. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. Notes This value is typically equal to std::numeric_limits<size_type>::max(), and reflects the

std::ostream_iterator::operator++

ostream_iterator& operator++(); ostream_iterator& operator++( int ); Does nothing. These operator overloads are provided to satisfy the requirements of OutputIterator. They make it possible for the expressions *iter++=value and *++iter=value to be used to output (insert) a value into the underlying stream. Parameters (none). Return value *this.

std::unordered_multiset::count

size_type count( const Key& key ) const; (1) (since C++11) Returns the number of elements with key key. Parameters key - key value of the elements to count Return value Number of elements with key key. Complexity linear in the number of elements with key key on average, worst case linear in the size of the container. See also find finds element with specific key (public member function) equal_range returns range of elements matching a specific key (publi

std::basic_ios::move

protected: void move( basic_ios& other ); (since C++11) protected: void move( basic_ios&& other ); (since C++11) Replaces the current state with that of other, except for the associated rdbuf. other is in valid, but unspecified state after the call. After the call to this function, rdbuf() returns NULL, and other.rdbuf() returns the same value as before the call. This member function is protected: it is called by the protected move constructors of the derived stream cl

std::shared_ptr::use_count

long use_count() const; Returns the number of different shared_ptr instances (this included) managing the current object. If there is no managed object, ​0​ is returned. Parameters (none). Return value the number of shared_ptr instances managing the current object or ​0​ if there is no managed object. Exceptions noexcept specification: noexcept Example #include <memory> #include <iostream> void fun(std::shared_ptr<int> sp) { std::cout << "

std::showbase

Defined in header <ios> std::ios_base& showbase( std::ios_base& str ); (1) std::ios_base& noshowbase( std::ios_base& str ); (2) 1) enables the showbase flag in the stream str as if by calling str.setf(std::ios_base::showbase). 2) disables the showbase flag in the stream str as if by calling str.unsetf(std::ios_base::showbase). This is an I/O manipulator, it may be called with an expression such as out << std::showbase for any out of type std::bas