The information in this article applies to:
SYMPTOMS
If a list has over 32K elements, list::sort removes the elements. RESOLUTION
The bug is in the header file <list>.
In the sort(_Pr3 _Pr) function :
If you are sorting through a list larger than 32K, increasing _MAXN from 15 to 25 would improve the performance.NOTE: Since the resolution involves modifying a system header file, extreme care should be taken to make sure nothing else is changed in the header file. Microsoft is not responsible for any problems resulting due to unwanted changes to the system header files. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce BehaviorThe following sample program demonstrates the bug.
Additional query words: STL
Keywords : kbLangCPP kbSTL kbVC600 kbVC600bug |
Last Reviewed: September 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |