Hi, I recently  added STL-style iterators and begin/cbegin/end/cend member functions to nsBaseHashtable. This means that it is now possible to use range-based for and STL algorithms operating on iterators with all of its subclasses, which include nsClassHashtable, nsDataHashtable, nsInterfaceHashtable, nsJSThingHashtable and nsRefPtrHashtable.
I also added an overview on existing support for range-based for and STL-style iterators in Mozilla data structures on MDN at . If you have any questions or issues, please let me know or NI me on Bugzilla. Best wishes Simon  https://bugzilla.mozilla.org/show_bug.cgi?id=1575479  https://developer.mozilla.org/en-US/docs/Mozilla/Using_CXX_in_Mozilla_code#Mozilla_data_structures_and_standard_C_ranges_and_iterators _______________________________________________ dev-platform mailing list email@example.com https://lists.mozilla.org/listinfo/dev-platform