recently i have learned about c++ template system again. when i first learn about template, template is instantiated at time when it is called first ( at run time ). but it looks wrong..
- i'm confused between template instantiation and template class initialization. i think template instantiation is making template code at compile time and template class initialization is contructing class instance with this template code, this can happen at compile time and run time.
am i understanding well??
Aucun commentaire:
Enregistrer un commentaire