home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!newsgate.watson.ibm.com!news.ans.net!europa.asd.contel.com!darwin.sura.net!wupost!sdd.hp.com!cs.utexas.edu!ut-emx!jamshid
- From: jamshid@ut-emx.uucp (Jamshid Afshar)
- Newsgroups: comp.lang.c++
- Subject: Re: Proposal: auto T&
- Message-ID: <78402@ut-emx.uucp>
- Date: 25 Aug 92 22:51:29 GMT
- References: <1992Aug19.234913.622@tfs.com> <2A991ABB.477D@tct.com>
- Organization: The University of Texas at Austin; Austin, Texas
- Lines: 14
-
- In article <2A991ABB.477D@tct.com> chip@tct.com (Chip Salzenberg) writes:
- >According to eric@tfs.com (Eric Smith):
- >>The "auto" in the function return value type tells the compiler to allocate
- >>the space for that automatic in the stack frame of the caller, instead of
- >>the stack frame of the called function.
- >
- >There is prior art. GCC and G++ already allow named return values ...
-
- But is there current reason? Can named return values let compilers do
- anything that they cannot do with a little bit of optimization (ARM 12
- Commentary)?
-
- Jamshid Afshar
- jamshid@emx.utexas.edu
-