This is a continuation from the last video. Pls make sure you check out the playlist:
https://youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
With templates, you can perform "identical operations on two or more types of data":
https://programiz.com/cpp-programming/templates
Kinda like a "cookie-cutter" explained on this page:
https://isocpp.org/wiki/faq/templates
Repository:
https://github.com/RoundBearChoi/CPP_Tutorial_Projects
Any questions/comments? Join us on discord:
https://discord.gg/hAFTgcA
Intro: (0:00)
template typename T: (1:02)
std::is_base_of: (3:15)
Outro: (6:01)
Social
twitter: https://twitter.com/roundbeargames
facebook: https://facebook.com/roundbeargames17
hive: @roundbeargames/posts
reddit: https://reddit.com/user/roundbeargames
linkedin: https://linkedin.com/in/jangwon-choi-15041a9a
Patreon:
https://patreon.com/roundbeargames
Channel Memberships:
https://youtube.com/roundbeargames/join