From: "Rafal 'Raf256' Maj" 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: NNTP-Posting-Host: pb125.krakow.cvx.ppp.tpnet.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit 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