38 #ifndef LIBPMEMOBJ_CPP_ALLOCATION_FLAG_HPP 39 #define LIBPMEMOBJ_CPP_ALLOCATION_FLAG_HPP 41 #include <libpmemobj/base.h> 101 return (value & rhs.value) != 0;
155 return (value & rhs.value) != 0;
static allocation_flag_atomic class_id(uint64_t id)
Allocate the object from the allocation class with id equal to id.
Definition: allocation_flag.hpp:135
Type of flag which can be passed to make_persistent_atomic.
Definition: allocation_flag.hpp:123
allocation_flag_atomic(uint64_t val)
Emplace constructor.
Definition: allocation_flag.hpp:127
bool is_set(const allocation_flag_atomic &rhs)
Check if flag is set.
Definition: allocation_flag.hpp:153
Type of flag which can be passed to make_persistent.
Definition: allocation_flag.hpp:60
static allocation_flag_atomic none()
Do not change allocator behaviour.
Definition: allocation_flag.hpp:144
static allocation_flag class_id(uint64_t id)
Allocate the object from the allocation class with id equal to id.
Definition: allocation_flag.hpp:72
bool is_set(const allocation_flag &rhs)
Check if flag is set.
Definition: allocation_flag.hpp:99
static allocation_flag no_flush()
Skip flush on commit.
Definition: allocation_flag.hpp:81
allocation_flag(uint64_t val)
Emplace constructor.
Definition: allocation_flag.hpp:64
A persistent version of concurrent hash map implementation Ref: https://arxiv.org/abs/1509....
Definition: allocation_flag.hpp:43
static allocation_flag none()
Do not change allocator behaviour.
Definition: allocation_flag.hpp:90