ASSOCIATIVE_CONTAINERS(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is the Associative Containers page from the Library Functions Manual β€” section 3, libstdc++ edition β€” and it's giving key-based container group chat energy. ✨ These containers are all about grabbing your data fast by key, and they keep their elements sorted with an ordering relation. It's lowkey iconic, no cap.

πŸŽ€ Classes πŸŽ€

  • class std::map< _Key, _Tp, _Compare, _Alloc > β€” a standard container made up of (key,value) pairs, which can be retrieved based on a key, in logarithmic time. obsessed πŸ’–
  • class std::multimap< _Key, _Tp, _Compare, _Alloc > β€” a standard container made up of (key,value) pairs, which can be retrieved based on a key, in logarithmic time. same energy, different name ✨
  • class std::multiset< _Key, _Compare, _Alloc > β€” a standard container made up of elements, which can be retrieved in logarithmic time. elements in the building πŸ¦‹
  • class std::set< _Key, _Compare, _Alloc > β€” a standard container made up of unique keys, which can be retrieved in logarithmic time. unique keys only, periodt πŸ‘‘

πŸ’– Detailed Description πŸ’–

Associative containers allow fast retrieval of data based on keys. literally the whole point πŸ”₯

Each container type is parameterized on a Key type, and an ordering relation used to sort the elements of the container. iykyk πŸ’œ

All associative containers must meet certain requirements, summarized in tables. tables! very "requirements era" πŸŽ€

🌸 Author 🌸

Generated automatically by Doxygen for libstdc++ from the source code. not a human author, just Doxygen doing its thing πŸ™ˆ


source/version: libstdc++ Β· date: 21 Apr 2009 β€” mwah, generated from the source code with Doxygen energy πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from