DEV Community

Discussion on: Is there a way to have raw-types in (modern) C++?

Collapse
mellen profile image
Matt Ellen

If you were doing this in Java, how would you know the type of the value?

Collapse
baenencalin profile image
Calin Baenen Author

Good point. - I'm running myself for a loop on how I can actually get what I want.

Collapse
baenencalin profile image
Calin Baenen Author

Well, unlike in Java, you can actually tell the type of a template argument at runtime! HAH-HAH!