Containers(3)
π NAME π
Containers - okay bestie, welcome to Containers(3) from the Library Functions Manual. that's the name, that's the whole vibe. π
π Classes π
class std::bitset< _Nb >β Thebitsetclass represents a fixed-size sequence of bits. β¨
π§© Modules π§©
- Sequences
- Associative Containers
- Unordered Associative Containers
β¨ Detailed Description β¨
Containers are collections of objects. no cap. π
A container may hold any type which meets certain requirements, but the type of contained object is chosen at compile time, and all objects in a given container must be of the same type. (Polymorphism is possible by declaring a container of pointers to a base class and then populating it with pointers to instances of derived classes. Variant value types such as the any class from Boost can also be used.)
All contained types must be Assignable and CopyConstructible. Specific containers may place additional requirements on the types of their contained objects. π
Containers manage memory allocation and deallocation themselves when storing your objects. The objects are destroyed when the container is itself destroyed. Note that if you are storing pointers in a container, delete is not automatically called on the pointers before destroying them.
β οΈ pointer besties, listen up: if you're storing pointers in a container, delete is not automatically called on the pointers before destroying them. that's on you, fr fr. π
All containers must meet certain requirements, summarized in tables. π
The standard containers are further refined into Sequences and Associative Containers. Unordered Associative Containers.
πΈ Author πΈ
Generated automatically by Doxygen for libstdc++ from the source code. so yeah, Doxygen did the authoring, libstdc++ is the source-code vibe, and we're just reading it. π«Ά
libstdc++ Β· 21 Apr 2009 Β· Containers(3) β signing off, slay πβ¨
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms