Skip to content

Tag Archives: CPP-Functions

The none_of_equal() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/none_of.hpp‘ which tests all the elements of a sequence against the value passed… Read More
The all_of_equal() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/all_of.hpp’ which tests all the elements of a sequence against the value passed… Read More
The any_of() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/any_of.hpp’ which tests the elements of a sequence and returns true if they… Read More
The one_of() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/one_of.hpp’ which tests the elements of a sequence and returns true if exactly… Read More
The all_of() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/all_of.hpp’ which tests all the elements of a sequence and returns true if… Read More
This function returns a direct reference to the last character of the string. This shall only be used on non-empty strings. This can be used… Read More
This function returns a direct reference to the first character of the string. This shall only be used on non-empty strings. This can be used… Read More
Strings in C: Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated… Read More
Deque or Double-ended queues are sequence containers with the feature of expansion and contraction on both the ends. They are similar to vectors, but are… Read More
The atan2() function is defined in valarray header file. This function calculate inverse tangent of (y/x) value of each element in valarray and returns a… Read More
The unordered_multimap::size() is a built-in function in C++ Standard Template Library which return’s the number of element int the unordered map. Syntax: unordered_multimap_name.size() Return Value:… Read More
Argument coercion is a feature of function prototypes by which the compiler implicitly converts the datatype of the arguments passed during the function call to… Read More
Functions can be invoked in two ways: Call by Value or Call by Reference. These two ways are generally differentiated by the type of values… Read More
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… Read More
Prerequisite : multiset The multiset::erase() is the STL function in C++ removes the specified element from multiset. There are three versions of this method. These… Read More