logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__gnu_pbds::container_traits.3cxx

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++        __gnu_pbds::container_traits<Cntnr>(3cxx)

Detailed Description

template<typenameCntnr>
       struct __gnu_pbds::container_traits< Cntnr >"Container traits.

Member Enumeration Documentation

template<typenameCntnr>anonymousenumEnumeratororder_preserving
              True only if Cntnr objects 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.

Name

       __gnu_pbds::container_traits< Cntnr > - Container traits.

Synopsis

       #include <tag_and_trait.hpp>

       Inherits __gnu_pbds::container_traits_base<Cntnr::container_category>.

   PublicTypes
       enum { order_preserving, erase_can_throw, split_join_can_throw, reverse_iteration }
       typedef container_traits_base< container_category > base_type
       typedef Cntnr::container_category container_category
       typedef Cntnr container_type
       typedef base_type::invalidation_guarantee invalidation_guarantee

See Also