1 #ifndef CACHEMERE_ITEM_H
2 #define CACHEMERE_ITEM_H
10 template<
typename Value>
struct Item {
11 Item(
size_t key_size, Value value,
size_t value_size)
18 Item(
Item&& other) noexcept =
default;
20 Item& operator=(
const Item&) =
delete;
21 Item& operator=(
Item&&) noexcept =
default;
35 swap(a.m_key_size, b.m_key_size);
36 swap(a.m_value, b.m_value);
37 swap(a.m_value_size, b.m_value_size);
38 swap(a.m_total_size, b.m_total_size);