list in stl c++ code example Example: list stl template < class T, class Alloc = allocator<T> > class list;