E
EvilOldGit
Are these just aliases ?
A few docs I've read imply that in certain case they aren't identical.
A few docs I've read imply that in certain case they aren't identical.
Are these just aliases ?
A few docs I've read imply that in certain case they aren't identical.
* (e-mail address removed):
In a template parameter list they are identical, in all other cases they
aren't identical.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
blangela said:Where is typename used other than in a template paramater list?
blangela said:Where is typename used other than in a template paramater list?
Of course when you declare a class data structure, use 'class'. Only
place I am aware of that typename cannot replace class keyword.
* (e-mail address removed):
In a template parameter list they are identical, in all other cases they
aren't identical.
There's also a case where you must use class instead of template, I ran
into this some time ago:
template<template<typename T> class U>
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.