std::unordered_map::at

T& at( const Key& key ); (1) (since C++11) const T& at( const Key& key ) const; (2) (since C++11) Returns a reference to the mapped value of the element with key equivalent to key. If no such element exists, an exception of type std::out_of_range is thrown. Parameters key - the key of the element to find Return value Reference to the mapped value of the requested element. Exceptions std::out_of_range if the container does not have an element with t

std::char_traits::assign

static void assign( char_type& r, const char_type& a ); (1) static char_type* assign( char_type* p, std::size_t count, char_type a ); (2) Assigns a character. 1) Assigns character a to character r. 2) Assigns character a to each character in count characters in the character sequence pointed to by p. Parameters a - character value to assign r - character to assign to p - pointer to a character sequence to assign to count - the length of the char

std::atan(std::complex)

Defined in header <complex> template< class T > complex<T> atan( const complex<T>& z ); (since C++11) Computes complex arc tangent of a complex value z. Branch cut exists outside the interval [−i ; +i] along the imaginary axis. Parameters z - complex value Return value Complex arc tangent of z in the range [−iπ/2 ; +iπ/2] along the imaginary axis. Return value If no errors occur, complex arc tangent of z is returned, in the range of a

std::basic_ofstream::close

void close(); Closes the associated file. Effectively calls rdbuf()->close(). If an error occurs during operation, setstate(failbit) is called. Parameters (none). Return value (none). Notes This function is called by the destructor of basic_ofstream when the stream object goes out of scope and is not usually invoked directly. Example See also is_open checks if the stream has an associated file (public member function) open opens a file and associates it with t

std::mbrtowc

Defined in header <cwchar> std::size_t mbrtowc( wchar_t* pwc, const char* s, std::size_t n, std::mbstate_t* ps ); Converts a narrow multibyte character to a wide character. If s is not a null pointer, inspects at most n bytes of the multibyte character string, beginning with the byte pointed to by s to determine the number of bytes necessary to complete the next multibyte character (including any shift sequences

std::undeclare_reachable

Defined in header <memory> template< class T > T* undeclare_reachable( T* p ); (since C++11) Removes the reachable status of the object, referenced by the pointer p, if it was previously set by std::declare_reachable. If the object was declared reachable multiple times, equal number of calls to undeclare_reachable would be needed to remove this status. Once the object is not declared reachable and has no pointers referencing it, it may be reclaimed by garbage collecto

operators (std::multimap)

template< class Key, class T, class Compare, class Alloc > bool operator==( const multimap<Key,T,Compare,Alloc>& lhs, const multimap<Key,T,Compare,Alloc>& rhs ); (1) template< class Key, class T, class Compare, class Alloc > bool operator!=( const multimap<Key,T,Compare,Alloc>& lhs, const multimap<Key,T,Compare,Alloc>& rhs ); (2) template< class Key, class T, class Compare, class Alloc > boo

std::swap(std::stack)

template< class T, class Container > void swap( stack<T,Container>& lhs, stack<T,Container>& rhs ); Specializes the std::swap algorithm for std::stack. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - containers whose contents to swap Return value (none). Complexity Same as swapping the underlying container. Exceptions noexcept specification: noexcept(noexcept(lhs.swap(rhs))) (since C++17) See

std::fwide

Defined in header <cwchar> int fwide( std::FILE* stream, int mode ); If mode > 0, attempts to make stream wide-oriented. If mode < 0, attempts to make stream byte-oriented. If mode==0, only queries the current orientation of the stream. If the orientation of the stream has already been decided (by executing output or by an earlier call to fwide), this function does nothing. Parameters stream - pointer to the C I/O stream to modify or query mode - integer

std::unordered_set::max_load_factor

float max_load_factor() const; (1) (since C++11) void max_load_factor( float ml ); (2) (since C++11) Manages the maximum load factor (number of elements per bucket). The container automatically increases the number of buckets if the load factor exceeds this threshold. 1) Returns current maximum load factor. 2) Sets the maximum load factor to ml. Parameters ml - new maximum load factor setting Return value 1) current maximum load factor. 2) none. Complexity Constan