News for hackers. Stuff that matters.
Re:Linus vs C++, again by ANH on Thursday June 10, 2010 @10:24PM (#1422536)
This is one reason why idioms and patterns are important. I don't think there are many reasonable C++ coders out there who would override operator-> in such a way as to introduce such ambiguity.
Re:Linus vs C++, again by gchpaco on Friday June 11, 2010 @01:45AM (#1422941)
Unfortunately that particular override comes up a lot when doing "smart pointers". Smart pointers are crazy difficult to write and fail in all kinds of subtle ways.
Re:Linus vs C++, again by ramchip on Friday June 11, 2010 @02:28AM (#1423029)
I've never had any problem with Qt or Boost smart pointers. They may be delicate to write, especially in multithreaded use cases, but once it's written it works rather well.