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.
[ Parent
| on HN ]
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.