Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: VDR developer version 1.3.6
Philip Lawatsch wrote:
There are Situations where the compiler has little or no chance to find
out what you're trying to use (its hard in case you use template
specialisation).
<snip code>
Now its getting problematic for the compiler, he does not know if you
want to use derived::bar or ::bar ...
I have to add that it's always possible for the compiler to find out
what you want, it's just a matter of _when_ he can find it out.
One reason the g++ developers made this change was for sure that they
rewrote the parser.
If you do not enforce the standard you have to do a full template
instantiation before you can determine all types, (and this might even
need some iterations !).
So, writing a c++ parser is easier by enforcing this standard rule.
kind regards Philip Lawatsch
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index