[linux-audio-dev] [ot] [rant] gcc, you let me down one time toomany

Chris Cannam chris.cannam at ferventsoftware.com
Thu Jun 9 10:05:15 UTC 2005


N Smethurst:
> Since a vector is a wrapped C array (i.e. contigous), the [] operator 
> compiles to the C equivalent when optimisation is turned on.

I was thinking of iterator operations, having vaguely recalled that the vector iterator in the gcc library had at some point changed from an actual pointer to a wrapper class. Looking at the code, though, the wrapper is so thin that it probably isn't an issue with optimization on.


Chris



More information about the Linux-audio-dev mailing list