c++ - Difference in template functions -


this question has answer here:

what's difference between template<typename t> , template<class t> ?

i use "typename" version, came across class 1 , need know difference..

there no difference. can use either typename or class designate type parameter in template.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -