To add another, the C++ reference has an extremely useful section for exploring any piece of documentation: "See also"
Look at this page for `capacity`: https://en.cppreference.com/w/cpp/string/basic_string/capaci...
Immediately, I see what other methods are relevant in this same context. So many languages references are simply enumerations of items in the library, but they don't provide the context needed to actually gain proficiency in the tool and learn incrementally.