PMDK C++ bindings  1.12.1-rc1
This is the C++ bindings documentation for PMDK's libpmemobj.
Public Member Functions | Static Public Member Functions | List of all members
pmem::obj::allocation_flag_atomic Struct Reference

Type of flag which can be passed to make_persistent_atomic. More...

#include <libpmemobj++/allocation_flag.hpp>

Public Member Functions

 allocation_flag_atomic (uint64_t val)
 Emplace constructor.
 
bool is_set (const allocation_flag_atomic &rhs)
 Check if flag is set.
 

Static Public Member Functions

static allocation_flag_atomic class_id (uint64_t id)
 Allocate the object from the allocation class with id equal to id.
 
static allocation_flag_atomic none ()
 Do not change allocator behaviour.
 

Detailed Description

Type of flag which can be passed to make_persistent_atomic.

Allowed flags are:

Flags can be combined with each other using operator|()


The documentation for this struct was generated from the following file: