5 #ifndef ODB_STD_SET_TRAITS_HXX
6 #define ODB_STD_SET_TRAITS_HXX
14 #include <odb/details/config.hxx>
18 template <
typename V,
typename C,
typename A>
23 static const bool smart =
false;
34 for (
typename container_type::const_iterator i (c.begin ()),
35 e (c.end ()); i != e; ++i)
49 c.insert (std::move (v));
61 for (
typename container_type::const_iterator i (c.begin ()),
62 e (c.end ()); i != e; ++i)
77 template <
typename V,
typename C,
typename A>
82 static const bool smart =
false;
93 for (
typename container_type::const_iterator i (c.begin ()),
94 e (c.end ()); i != e; ++i)
108 c.insert (std::move (v));
120 for (
typename container_type::const_iterator i (c.begin ()),
121 e (c.end ()); i != e; ++i)
135 #endif // ODB_STD_SET_TRAITS_HXX
Definition: container-traits.hxx:130
static void erase(const functions &f)
Definition: std-set-traits.hxx:67
static void update(const container_type &c, const functions &f)
Definition: std-set-traits.hxx:116
set_functions< value_type > functions
Definition: std-set-traits.hxx:28
void delete_() const
Definition: container-traits.hxx:147
Definition: container-traits.hxx:21
V value_type
Definition: std-set-traits.hxx:26
static void persist(const container_type &c, const functions &f)
Definition: std-set-traits.hxx:91
static void update(const container_type &c, const functions &f)
Definition: std-set-traits.hxx:57
Definition: container-traits.hxx:20
std::multiset< V, C, A > container_type
Definition: std-set-traits.hxx:84
Definition: forward.hxx:119
container_kind
Definition: container-traits.hxx:17
static void load(container_type &c, bool more, const functions &f)
Definition: std-set-traits.hxx:99
V value_type
Definition: std-set-traits.hxx:85
std::set< V, C, A > container_type
Definition: std-set-traits.hxx:25
static void load(container_type &c, bool more, const functions &f)
Definition: std-set-traits.hxx:40
static void erase(const functions &f)
Definition: std-set-traits.hxx:126
bool select(V &next_value) const
Definition: container-traits.hxx:141
void insert(const V &value) const
Definition: container-traits.hxx:135
set_functions< value_type > functions
Definition: std-set-traits.hxx:87
static void persist(const container_type &c, const functions &f)
Definition: std-set-traits.hxx:32