The Essential Tools Module templates are meant to enhance the Standard C++ Library, not to stand as a barrier to it. The iterators described in the Section 6.13 are standard iterators, and you can use them in conjunction with any components offering a standard iterator-based interface. In particular, you can use all of the standard algorithms with the Rogue Wave standard library-based collections. For example:
RWTValOrderedVector<int> vec; // ... < put stuff in vector > // Set the first 5 elements to 0: fill(vec.begin(), vec.begin() + 5, 0);
In addition, you are always free to access, and in some cases to manipulate, the underlying Standard C++ Library collection class. This is accomplished via the std() member function, which returns a reference to the implementation.
©2004 Copyright Quovadx, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.