__GNU_PBDS::CONTAINER_TRAITS(3cxx)
π NAME π
__gnu_pbds::container_traits< Cntnr > β Container traits. bestie, this page lives in the 3cxx manual, and it's genuinely giving βtrait struct with main character energyβ β¨
β¨ SYNOPSIS β¨
#include <tag_and_trait.hpp>
It inherits __gnu_pbds::container_traits_base< Cntnr::container_category >.
π Public Types π
enum { order_preserving, erase_can_throw, split_join_can_throw, reverse_iteration }β the enum crew; each enumerator gets its own explanation down below πtypedef container_traits_base< container_category > base_typeβ yup,base_typeis literally that typedef, no cap.typedef Cntnr::container_category container_categoryβcontainer_categorycomes straight fromCntnr::container_category.typedef Cntnr container_typeβcontainer_typeis justCntnr, iconic.typedef base_type::invalidation_guarantee invalidation_guaranteeβinvalidation_guaranteeis pulled frombase_type::invalidation_guarantee.
π¦ Detailed Description π¦
template<typename Cntnr>
struct __gnu_pbds::container_traits< Cntnr >
Container traits. That's the whole vibe of this struct, and the description is literally βContainer traits.β π«Ά
πΈ Member Enumeration Documentation πΈ
template<typename Cntnr > anonymous enum β yes bestie, it's an anonymous enum, and here's the full roster:
Enumerator
order_preservingβ True only ifCntnrobjects guarantee storing keys by order.erase_can_throwβ True only if erasing a key can throw.split_join_can_throwβ True only if split or join operations can throw.reverse_iterationβ True only reverse iterators are supported.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
~ cute sign-off ~ source/version: libstdc++ + the 3cxx manual name, generated automatically by Doxygen from the source code. Date? Not printed on this page, so I'm not inventing one, bestie π
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms