FewThe languages have built-in support for merging. An exception is [[C++]]'s [[Standard Template Library|STL]]: it has the function <code>std::merge</code>, which merges two sorted ranges of iterators, and <code>std::inplace_merge</code>, which merges two consecutive sorted ranges ''in-place''. In addition, the <code>std::list</code> (linked list) class has its own <code>merge</code> method which merges another list into itself. The type of the elements merged must support the less-than (<) operator, or it must be provided with a custom comparator.
Also, [[PHP]] has the array_merge() and array_merge_recursive() functions.