This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Why does the [] operator in vector behave as it does?
- From: Luke Dickens <lwd03 at doc dot ic dot ac dot uk>
- To: gcc-help at gcc dot gnu dot org
- Cc: r dot ted dot byers at rogers dot com, eljay at adobe dot com
- Date: Wed, 30 Apr 2008 16:32:36 +0100
- Subject: Re: Why does the [] operator in vector behave as it does?
- References: <980000.79206.qm@web88305.mail.re4.yahoo.com>
Thank you elJay .
I remember using the assignment operator but had forgotten why. My code
is a bit rusty.
Thank you Ted.
I was going to look at smart pointers when I did a code clean-up. I have
the boost libraries, but don't want to introduce too much new code all
at once. Are they fairly easy to incorporate into existing code, or is
this too pervasive a coding paradigm requiring an entire rework.