C++ Standard Template Library list implementation. The print() function provides an example on how to
modify the List.cpp file to implement details for the predicate function called subset(). The definition of a subset is: given two lists L1 and L2, then L1 is a subset…