There is one library but it's not standart.
But in Delphi it's more beautiful and better. Templater are like in C++.http://docwiki.embarcadero.com/Libraries/XE7/en/System.Generics.Collections