Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #41257
| From | legalize+jeeves@mail.xmission.com (Richard) |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: do shared_ptrs to resized vector remain valid? |
| Date | 2016-02-26 16:56 +0000 |
| Organization | multi-cellular, biological |
| Message-ID | <naq040$f0$1@news.xmission.com> (permalink) |
| References | <5735d6ff-0572-41ff-ac88-8b1bcd52cef6@googlegroups.com> <fOOdnXanTNJK503LnZ2dnUU78W-dnZ2d@giganews.com> |
[Please do not mail me a copy of your followup]
Paavo Helde <myfirstname@osa.pri.ee> spake the secret code
<fOOdnXanTNJK503LnZ2dnUU78W-dnZ2d@giganews.com> thusly:
>With the elements in the resizable buffer the things are different,
>their location can change during operations like resizing, [...]
I believe the standard guarantees that they remain in the same
location if you resize the vector smaller.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
do shared_ptrs to resized vector remain valid? jomarbueyes@hotmail.com - 2016-02-26 07:41 -0800
Re: do shared_ptrs to resized vector remain valid? Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-26 18:18 +0200
Re: do shared_ptrs to resized vector remain valid? legalize+jeeves@mail.xmission.com (Richard) - 2016-02-26 16:56 +0000
Re: do shared_ptrs to resized vector remain valid? jomarbueyes@hotmail.com - 2016-02-26 09:05 -0800
Re: do shared_ptrs to resized vector remain valid? jomarbueyes@hotmail.com - 2016-02-26 09:00 -0800
Re: do shared_ptrs to resized vector remain valid? Juha Nieminen <nospam@thanks.invalid> - 2016-02-26 18:08 +0000
csiph-web