Is template class compilation static or dynamic binding ?