IDA C++ SDK 9.2
Loading...
Searching...
No Matches
qset.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "qtree.hpp"
4#include "qida_alloc_shim.hpp"
5
6#include <functional> // for std::less
7
8template<typename Value, typename Compare = std::less<>>
10
11template <class T, class C>
12int compare(const qset<T, C> &a, const qset<T, C> &b)
13{
14 return compare_containers(a, b);
15}
16
17template <class T, class C>
18struct ida_movable_type<qset<T, C> >
19{
20 static constexpr bool value = true;
21};
qtree< Key, Compare, AllocPolicy, PackNode, qtree_detail::identity_key< Key > > qset
Definition qtree.hpp:2610
int compare_containers(const T &l, const T &r)
Template to compare any 2 containers of the same type. Returns -1/0/1.
Definition pro.h:4648
int compare(const qset< T, C > &a, const qset< T, C > &b)
Definition qset.hpp:12
qtree_detail::qset< Value, Compare, ida_alloc_policy, true > qset
Definition qset.hpp:9
static constexpr bool value
Definition qset.hpp:20
Definition pro.h:1720