Sybase interview question

How do C++ templates work?