std::multimap::end

iterator end(); const_iterator end() const; const_iterator cend() const; (since C++11) Returns an iterator to the element following the last element of the container. This element acts as a placeholder; attempting to access it results in undefined behavior. Parameters (none). Return value Iterator to the element following the last element. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. See also begin

std::wbuffer_convert::state

Defined in header <locale> state_type state() const; Returns the current value of the conversion state, which is stored in this wbuffer_convert object. The conversion state may be explicitly set in the constructor and is updated by all conversion operations. Return value The current conversion state. Example See also state returns the current conversion state (public member function of std::wstring_convert) mbsinit checks if the mbstate_t object represents

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

std::basic_streambuf::pubsync

int pubsync(); (1) protected: virtual int sync(); (2) Synchronizes the controlled character sequence (the buffers) with the associated character sequence. 1) Calls sync() of the most derived class. 2) The base class version of this function has no effect. The derived classes may override this function to allow synchronizing the underlying device with the buffers. For output streams, this typically results in writing the contents of the put area into the associated sequence, i.e. f

std::dynarray::operator[]

reference operator[]( size_type pos ); (since {std}) const_reference operator[]( size_type pos ) const; (since {std}) Returns a reference to the element at specified location pos. No bounds checking is performed. Parameters pos - position of the element to return Return value Reference to the requested element. Complexity Constant. Notes Unlike std::map::operator[], this operator never inserts a new element into the container. Example The following co

std::hash&lt;std::type_index&gt;

Defined in header <typeindex> template<> struct hash<type_index>; (since C++11) The template specialization of std::hash for std::type_index allows users to obtain hashes of objects of type std::type_index. The member operator() effectively returns the same value as hash_code(). See also hash_code returns hashed code (public member function)

std::basic_ofstream::open

void open( const char *filename, ios_base::openmode mode = ios_base::out ); (1) void open( const std::string &filename, ios_base::openmode mode = ios_base::out ); (2) (since C++11) Opens and associates the file with name filename with the file stream. Calls setstate(failbit) on failure. Calls clear() on success. (since C++11) 1) Effectively calls rdbuf()->open(filename, mode | ios_base::out). (see std::basic_filebuf

std::weibull_distribution::weibull_distribution

explicit weibull_distribution( RealType a = 1.0, RealType b = 1.0 ); (1) (since C++11) explicit weibull_distribution( const param_type& params ); (2) (since C++11) Constructs a new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters. Parameters a - the a distribution parameter (shape) b - the b distribution parameter (scale) params - the distribution parameter set

std::dynarray::max_size

size_type max_size() const; (since {std}) 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 noexcept specification: noexcept Complexity Constant. Notes This value is typically equal to std::numeric_limits<size_type>::max(), and reflects the theoretical limit on t

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