This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: internship opportunities


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]