Comment by detaro
7 years ago
Which specific example is choosen doesn't seem all that relevant for the point of "there's these two similar but not identical things people have to/might not understand the difference of"
7 years ago
Which specific example is choosen doesn't seem all that relevant for the point of "there's these two similar but not identical things people have to/might not understand the difference of"
Picking an example that never occurs is not relevant, because nobody needs to learn the thing that never comes up in practice.
But as you show with your other example, the difference between auto and decltype does come up in practice, even if the example is not a typical one.
Sure: that's why I provided one that reflected the real world more closely.
1 reply →