Article View: comp.std.c++
Article #287operator . overloading
From: Jim ADCOCK
Date: Thu, 09 Aug 1990 17:05
Date: Thu, 09 Aug 1990 17:05
20 lines
895 bytes
895 bytes
proposal: allow overloading on operator. just as just about every other operator can be overloaded. why? to allow the creation of smart reference classes, by analogy to smart pointer classes. for example, if you want to implement reference counted pointers you need to overload operator-> and if you want to implement reference counted references you need to overload operator. so rules for overloading operator. would be analogous to the rules for overloading operator-> ????
Technical Details
Message-ID:
<56429@microsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!microsoft!jimadShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!microsoft!jimad From: jimad@microsoft.UUCP (Jim ADCOCK) Newsgroups: comp.std.c++ Subject: operator . overloading Message-ID: <56429@microsoft.UUCP> Date: 9 Aug 90 17:05:56 GMT Reply-To: jimad@microsoft.UUCP (Jim ADCOCK) Organization: Microsoft Corp., Redmond WA Lines: 20