Don't document wxSortedArrayString as deriving from wxArrayString.
This is no longer the case since quite some time. Closes #15374. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -265,24 +265,21 @@ public:
|
||||
wxSortedArrayString is an efficient container for storing wxString objects
|
||||
which always keeps the string in alphabetical order.
|
||||
|
||||
wxSortedArrayString uses binary search in its wxArrayString::Index() function
|
||||
wxSortedArrayString uses binary search in its wxSortedArrayString::Index() method
|
||||
(instead of linear search for wxArrayString::Index()) which makes it much more
|
||||
efficient if you add strings to the array rarely (because, of course, you have
|
||||
to pay for Index() efficiency by having Add() be slower) but search for them
|
||||
often. Several methods should not be used with sorted array (basically, all
|
||||
those which break the order of items) which is mentioned in their description.
|
||||
|
||||
@todo what about STL? who does it integrates?
|
||||
|
||||
@library{wxbase}
|
||||
@category{containers}
|
||||
|
||||
@see wxArray, wxString, @ref overview_string
|
||||
*/
|
||||
class wxSortedArrayString : public wxArrayString
|
||||
class wxSortedArrayString : public wxArray
|
||||
{
|
||||
public:
|
||||
|
||||
/**
|
||||
Conversion constructor.
|
||||
|
||||
|
Reference in New Issue
Block a user