Why typename?—Everything Cpp

Save to:
Instapaper Pocket Readability

Why and how do we use typename?

Why typename?

by Everything Cpp

From the video:

Whether you've been using C++ for days or years, misunderstanding the usage of 'typename' can observably lead you through the 5 stages of grief. Unfortunately, all too often, 'acceptance' means just throwing the keyword around until the compiler stops correcting you. Good luck should you need to use the 'template' keyword in a similar fashion.

In this video, we explore just what 'typename' is used for, how you can avoid these errors, and the obnoxious exception to the rule that causes people to doubt their understanding.

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.