🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jim ADCOCK Thu, 09 Aug 1990 17:05
operator . overloading
#287
Author: Jim ADCOCK
Date: Thu, 09 Aug 1990 17:05
20 lines
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->

????
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads