5 #ifndef ODB_STD_UNORDERED_SET_TRAITS_HXX
6 #define ODB_STD_UNORDERED_SET_TRAITS_HXX
11 #include <unordered_set>
17 template <
typename V,
typename H,
typename P,
typename A>
22 static const bool smart =
false;
33 for (
typename container_type::const_iterator i (c.begin ()),
34 e (c.end ()); i != e; ++i)
47 c.insert (std::move (v));
56 for (
typename container_type::const_iterator i (c.begin ()),
57 e (c.end ()); i != e; ++i)
72 template <
typename V,
typename H,
typename P,
typename A>
77 static const bool smart =
false;
88 for (
typename container_type::const_iterator i (c.begin ()),
89 e (c.end ()); i != e; ++i)
102 c.insert (std::move (v));
111 for (
typename container_type::const_iterator i (c.begin ()),
112 e (c.end ()); i != e; ++i)
126 #endif // ODB_STD_UNORDERED_SET_TRAITS_HXX
V value_type
Definition: std-unordered-set-traits.hxx:25
Definition: container-traits.hxx:130
set_functions< value_type > functions
Definition: std-unordered-set-traits.hxx:82
void delete_() const
Definition: container-traits.hxx:147
Definition: container-traits.hxx:21
static void persist(const container_type &c, const functions &f)
Definition: std-unordered-set-traits.hxx:31
Definition: container-traits.hxx:20
Definition: forward.hxx:119
container_kind
Definition: container-traits.hxx:17
set_functions< value_type > functions
Definition: std-unordered-set-traits.hxx:27
static void update(const container_type &c, const functions &f)
Definition: std-unordered-set-traits.hxx:107
std::unordered_set< V, H, P, A > container_type
Definition: std-unordered-set-traits.hxx:24
static void erase(const functions &f)
Definition: std-unordered-set-traits.hxx:62
static void persist(const container_type &c, const functions &f)
Definition: std-unordered-set-traits.hxx:86
std::unordered_multiset< V, H, P, A > container_type
Definition: std-unordered-set-traits.hxx:79
static void update(const container_type &c, const functions &f)
Definition: std-unordered-set-traits.hxx:52
V value_type
Definition: std-unordered-set-traits.hxx:80
static void load(container_type &c, bool more, const functions &f)
Definition: std-unordered-set-traits.hxx:39
static void erase(const functions &f)
Definition: std-unordered-set-traits.hxx:117
bool select(V &next_value) const
Definition: container-traits.hxx:141
void insert(const V &value) const
Definition: container-traits.hxx:135
static void load(container_type &c, bool more, const functions &f)
Definition: std-unordered-set-traits.hxx:94