internship opportunities
Paolo Carlini
pcarlini@suse.de
Fri Apr 28 00:25:00 GMT 2006
Joe Buck wrote:
>How about seeing what we can do to get clearer error messages
>when people make mistakes using all of our fancy class facilities?
>This might affect both the compiler and the library.
>
>A first cut, which would need little expertise, is to collect the
>types of confusing messages people typically encounter, and think
>about ways for the compiler to guess what the intent was.
>
>Without some effort like this, using TR1 is not going to be much fun.
>
To be honest, I don't think this is a major issue, *per se*. The reason
is that TR1 is non-normative and, when the facilities it describes will
be known as part of the next standard (so called C++0x), that will most
likely happen together with 'Concepts' and all its nice features from
the point of view of the emitted error messages. Moreover, in that
context, some facilities will be likely reimplemented and the new, much
simpler and cleaner code will "automatically" give rise to
straightforward error messages (e.g., result_of?).
Paolo.
More information about the Libstdc++
mailing list