acos() function in C++ STL
acos() is an inbuilt function in C++ STL and it’s the same as the inverse of cosine in maths. The acos() function returns the values in the range of [0, π] which is the angle in radians....
read more
list back() function in C++ STL
The list::back() function in C++ STL returns a direct reference to the last element in the list container. This function is different from the list::end() function as the end() function returns only the iterator to the last element....
read more
basic_istream::unget() in C++ with Examples
The basic_istream::unget() is used to unget the character and used to decrease the location by one character and makes the extracted character available for used once again. Header File:...
read more
basic_istream::seekg() in C++ with Examples
The basic_stream::seekg() method is used to set position of the next character to be extracted from the input stream. This function is present in the iostream header file. Below is the syntax for the same:...
read more
std::uniform_real_distribution a() method in C++ with Examples
The a() method of uniform_real_distribution class in C++ is used to get the lower bound of this uniform_real_distribution....
read more
atanh() function in C++ STL
The atanh() is an inbuilt function in C++ STL that returns the inverse hyperbolic tangent of an angle given in radians. The function belongs to <cmath> header file.Syntax:...
read more
std::is_trivially_copy_assignable class in C++ with Examples
The std::is_trivially_copy_assignable template of C++ STL is present in the <type_traits> header file. The std::is_trivially_copy_assignable template of C++ STL is used to check whether T is trivially copy assignable type or not. It return the boolean value true if T is trivially copy assignable type, otherwise return false....
read more
unordered_multiset reserve() in C++ STL
The reserve() function of unordered_multiset sets the number of buckets in the container (bucket_count) to the most appropriate to contain at least n elements....
read more
logical_and in C++
logical_and in C++ is a binary function object class which returns the result of the logical “and” operation between its two arguments (as returned by operator &&)....
read more
multimap operator = in C++ STL
The multimap::operator= is a built in C++ STL which assigns new contents to the container, replacing its current content....
read more
valarray exp() function in C++
The exp() function is defined in valarray header file. This function is used to calculate e raised to the power equal to the value of the element in valarray....
read more
unordered_map insert in C++ STL
The unordered_map::insert() is a built-in function in C++ STL which is used to insert elements with a particular key in the unordered_map container. This function increases container size by 1. This function does not insert duplicate entries. There are following variant of this function. All are overloaded functions. Syntax-1:...
read more