View Single Post
Old 09-09-2004, 11:45 PM   #4 (permalink)
KnifeMissile
 
KnifeMissile's Avatar
 
Location: Waterloo, Ontario
Perhaps I do mean to be harsh when I say this but you should really learn to read. Can you see why:
Quote:
The fact that you think the first example should work shows you lack a fundamental understand of what you are actually doing.
is not an apporpriate response to the sentence
Quote:
Why is it that this code (correctly, in my opinion) fails to compile:
As you can see, I did not expect the first example to work. If you are going to risk being harsh, you should make sure that you know what you are talking about...


Now, for clarification (at least one of you seems to need it), I expect different struct declarations to be considered different types (hence, my statement about "(correctly, IMO) fails to compile"). My question was why templated structs aren't considered different types...

It's tempting to debate the merits of C++ versus Java but that would honestly diverge from the thread topic and risk starting a religious flame war...
KnifeMissile is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73