Sybase Interview Question

How do C++ templates work?