This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A query on C++ Temporary Objects


On Tue, Apr 18, 2006 at 12:27:51AM -0700, Arijit Das wrote:
> Stroustroup, in his book "The C++ Programming
> Language" (Section 10.4.10), says that 'Temporary
> objects are destroyed when its reference or named
> object goes out of scope.' 

Your question is about the semantics of the C++ language and the
justifications for it.  That's not what this list is for; it is only for
the development of the GNU C++ standard library.  A forum like
comp.lang.c++.moderated would be a better place to get your question
answered.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]