list emplace() function in C++ STL
The list::emplace() is a built-in function in C++ STL which extends list by inserting new element at a given position. Syntax: list_name.emplace(position, element)Parameters: The function accepts two mandatory parameters which are described below: position - it specifies the iterator which points to