The Essential Tools Module templates are meant to enhance the C++ Standard 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 C++ Standard Library collection class. This is accomplished via the std() member function, which returns a reference to the implementation.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, 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.