From 5709351642713361062
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ae848d24edd9d0ed,start
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1994-06-27 05:50:36 PST
Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!emory!swrinde!pipex!uknet!EU.net!uunet!library.erc.clarkson.edu!news.clarkson.edu!cline
From: cline@sun.soe.clarkson.edu (Marshall Cline)
Newsgroups: comp.std.c++
Subject: lifetime of temporaries
Date: 27 Jun 94 08:44:01
Organization: Paradigm Shift, Inc (C++/Reuse/OOD/OO-mgmt training)
Lines: 14
Distribution: world
Message-ID: <CLINE.94Jun27084401@cheetah.clarkson.edu>
Reply-To: cline@parashift.com (Marshall Cline)
NNTP-Posting-Host: cheetah.ece.clarkson.edu

============================================================

ANSI/ISO working paper recently tightened down the issues regarding 
lifetime of temporaries.  A temporary now lives until the outermost 
expression (which is not a subexpression of any other expression).

My question is with regard to bound temporaries.  If a reference is
bound to a temporary, will the temporary be guaranteed to live as long
as the reference lives?
--
Marshall Cline
--
Marshall P. Cline, Ph.D. / Paradigm Shift Inc / PO Box 5108 / Potsdam NY 13676
cline@parashift.com / 315-353-6100 / FAX: 315-353-6110


