Go to the documentation of this file.
49 #ifndef ABSL_CONTAINER_BTREE_SET_H_
50 #define ABSL_CONTAINER_BTREE_SET_H_
52 #include "absl/container/internal/btree.h"
53 #include "absl/container/internal/btree_container.h"
58 namespace container_internal {
60 template <
typename Key>
63 template <
typename Key,
typename Compare,
typename Alloc,
int TargetNodeSize,
84 template <
typename Key,
typename Compare = std::less<Key>,
85 typename Alloc = std::allocator<Key>>
88 container_internal::btree<container_internal::set_params<
89 Key, Compare, Alloc, 256,
166 using Base::max_size;
267 using Base::emplace_hint;
337 using Base::equal_range;
359 using Base::lower_bound;
370 using Base::upper_bound;
375 using Base::get_allocator;
380 using Base::key_comp;
387 using Base::value_comp;
393 template <
typename K,
typename C,
typename A>
402 template <
typename K,
typename C,
typename A,
typename Pred>
424 template <
typename Key,
typename Compare = std::less<Key>,
425 typename Alloc = std::allocator<Key>>
428 container_internal::btree<container_internal::set_params<
429 Key, Compare, Alloc, 256,
506 using Base::max_size;
589 using Base::emplace_hint;
657 using Base::equal_range;
680 using Base::lower_bound;
692 using Base::upper_bound;
697 using Base::get_allocator;
702 using Base::key_comp;
709 using Base::value_comp;
715 template <
typename K,
typename C,
typename A>
724 template <
typename K,
typename C,
typename A,
typename Pred>
730 namespace container_internal {
734 template <
typename Key>
735 struct set_slot_policy {
746 std::forward<Args>(
args)...);
749 template <
typename Alloc>
754 template <
typename Alloc>
759 template <
typename Alloc>
764 template <
typename Alloc>
773 template <
typename Key,
typename Compare,
typename Alloc,
int TargetNodeSize,
775 struct set_params : common_params<Key, Compare, Alloc, TargetNodeSize, IsMulti,
776 false, set_slot_policy<Key>> {
778 using slot_type =
typename set_params::common_params::slot_type;
780 template <
typename V>
793 #endif // ABSL_CONTAINER_BTREE_SET_H_
static const value_type & element(const slot_type *slot)
static void ** find(grpc_chttp2_stream_map *map, uint32_t key)
static void destroy(Alloc *alloc, slot_type *slot)
static void construct(Alloc *alloc, slot_type *slot, slot_type *other)
#define ABSL_NAMESPACE_END
static void construct(Alloc &a, T *p, Args &&... args)
static auto erase_if(BtreeContainer &container, Pred pred) -> typename BtreeContainer::size_type
btree_multiset_container()
typename set_params::common_params::slot_type slot_type
#define ABSL_NAMESPACE_BEGIN
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
void swap(btree_map< K, V, C, A > &x, btree_map< K, V, C, A > &y)
static const Key & key(slot_type *slot)
int extract(FILE *in, struct access *index, off_t offset, unsigned char *buf, int len)
btree_map< K, V, C, A >::size_type erase_if(btree_map< K, V, C, A > &map, Pred pred)
void * Alloc(FlagOpFn op)
static value_type & element(slot_type *slot)
static const Key & key(const slot_type *slot)
static void insert(upb_table *t, lookupkey_t key, upb_tabkey tabkey, upb_value val, uint32_t hash, hashfunc_t *hashfunc, eqlfunc_t *eql)
static void construct(Alloc *alloc, slot_type *slot, Args &&...args)
internal::KeyMatcher< M > Key(M inner_matcher)
static void construct(Alloc *alloc, slot_type *slot, const slot_type *other)
static void transfer(Alloc *alloc, slot_type *new_slot, slot_type *old_slot)
int Compare(const BigUnsigned< N > &lhs, const BigUnsigned< M > &rhs)
static int contains(grpc_timer_heap *pq, grpc_timer *el)
static const V & key(const V &value)
def merge(callgrind_files, srcs)
static void destroy(Alloc &a, T *p)
std::allocator< int > alloc
typename container_internal::btree< container_internal::set_params< Key, std::less< Key >, std::allocator< Key >, 256, false > > ::size_type size_type
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:50