cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/13/15:48:53

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ overloaded operators and operator preceedence
Date: 12 Aug 1997 07:53:57 GMT
Organization: The National Capital FreeNet
Lines: 17
Message-ID: <5sp4ql$2m1@freenet-news.carleton.ca>
References: <33EDDE0A DOT 2014C272 AT execulink DOT com> <5sn0pn$rlc$1 AT info DOT service DOT rug DOT nl>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet3.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


What exactly is the list of operators you can overload? As in, what
combinations of nonalphabetic symbols can be used as operators? It'd be
nice to have a full list. My C++ documentations don't specify, they say
how to overload operators, and so forth, but don't list the symbols or
symbol pairs that can be used legitimately as operators, as in, what is
allowed in place of ?? in:

friend vector &operator?? (vector &a, vector &b);

and so forth.
--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019