However, there are limitations: There are things that you can easily express with templates, and there are things that are impossible to express with templates. As such, templates are highly interesting to framework creators, and we do use advanced templates in many places in Qt.
Templates are a builtin mechanism in C++ that allows the compiler to generate code on the fly, depending on the type of the arguments passed.