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: [RFC] Interpretation of DR 198 resolution


Bo Persson wrote:

It is dependent on the other part of DR#198:

"Destruction of an iterator may invalidate pointers and references previously obtained from that iterator"

If that sentence is accepted, the reference returned from operator*() might be invalid after tmp is destroyed. If...


Now I see. Thanks!

Paolo.


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