PMDK C++ bindings  1.6.1
This is the C++ bindings documentation for PMDK's libpmemobj.
Functions
common.hpp File Reference

Commonly used functionality. More...

#include <libpmemobj++/detail/pexceptions.hpp>
#include <libpmemobj/tx_base.h>
#include <typeinfo>

Go to the source code of this file.

Functions

uint64_t pmem::detail::next_pow_2 (uint64_t v)
 Round up to the next lowest power of 2. More...
 
uint64_t pmem::detail::next_pow_2 (uint32_t v)
 Round up to the next lowest power of 2. More...
 

Detailed Description

Commonly used functionality.

Function Documentation

◆ next_pow_2() [1/2]

uint64_t pmem::detail::next_pow_2 ( uint32_t  v)
inline

Round up to the next lowest power of 2.

Overload for uint32_t argument.

◆ next_pow_2() [2/2]

uint64_t pmem::detail::next_pow_2 ( uint64_t  v)
inline

Round up to the next lowest power of 2.

Overload for uint64_t argument.