www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/02/16:30:25

From: "Rafal 'Raf256' Maj" <rafal AT raf256 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: __attribute__
Date: 2 Sep 2002 20:28:52 GMT
Organization: news.onet.pl
Lines: 15
Sender: raf256 AT poczta DOT onet DOT pl@pb125.krakow.cvx.ppp.tpnet.pl
Message-ID: <Xns927DE3FD12997raf256com@213.180.128.20>
NNTP-Posting-Host: pb125.krakow.cvx.ppp.tpnet.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1030998532 3361 213.76.37.125 (2 Sep 2002 20:28:52 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 2 Sep 2002 20:28:52 GMT
User-Agent: Xnews/5.03.24
X-Complains-To: admin AT raf256 DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,
where can I find list of values that can be used in
__atrribute__(...) expresion ?

expecialy I need attribute that tells compiler that this function depends 
only on variables from it's object - and that it will return same result if  
only the object wasn't changed, i.e. :

int& operator()(int x,int y) __attribute__(???) {
  return mem[x+y*sy]; // my 2d array implementation
}

-- 
Rafał 'Raf256' Maj
http://www.raf256.com

- Raw text -


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