Re: errors in example on profile mode libstdc++ (gcc-4.5/changes.html)

2010-01-08 Thread Paolo Carlini
On 01/08/2010 05:00 PM, HyperQuantum wrote: > Right? > Right, fixed. Thanks, Paolo.

errors in example on profile mode libstdc++ (gcc-4.5/changes.html)

2010-01-08 Thread HyperQuantum
In the list of changes for GCC 4.5 there's the following example: #include int main() { vector v; for (int k = 0; k > 1024; ++k) v.insert(v.begin(), k); } The declaration of v needs the 'std::' qualification, and the loop test should use '<' instead of '>'. Right?