Re: STL vector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/2/05, Mws  wrote:
>  void pop_back() {
>    --this->_M_finish;
>    _Destroy(this->_M_finish);
>  }
>
> the same unchecked stuff :)

 Hi.
  Why do yo think this piece of code is unchecked ?
The check can be inside the iterator's "operator--".
Intall it and run some small test, to examine is there
a check.

By the way, installation of STLport 4.6.2 was problematic
with the newer versions of GCC.I am not sure the problem
was solved in the latest snapshots of STLport. But if you
have gcc 3.3.* or older, there are no problems.

Regards,
 Dima.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux