2 ms·
The thing about templates is kind of silly, AFAIK, they added typename since the use of class didn't really make sense for the reasons he did state. They made a
by mackal 13y ago
The thing about templates is kind of silly, AFAIK, they added typename since the use of class didn't really make sense for the reasons he did state. They made an error in other words and corrected it in a latter release of the standard and best practice would be to use typename unless you need compatibility with an older compiler that doesn't support it.