15 Jun
2005
15 Jun
'05
21:42
This was recently posted to comp.std.c++, and looks interesting: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1671.pdf Overloading operator.() & operator.*() Gary Powell, Doug Gregor, Jaakko Jarvi Project: Programming Language C++, Evolution Working Group Reply-to: Gary Powell <powellg@amazon.com> Abstract With operator->() and operator->*() a designer of a class can create a smart pointer. There is also a need to create smart references, and smart delayed member access variable hence the need to be able to overload operator.() and operator.*(). -- Regards, Steven