PMDK C++ bindings  1.8.2
This is the C++ bindings documentation for PMDK's libpmemobj.
Classes | Namespaces | Functions
v.hpp File Reference

Volatile resides on pmem property template. More...

#include <memory>
#include <tuple>
#include <libpmemobj++/detail/common.hpp>
#include <libpmemobj++/detail/life.hpp>

Go to the source code of this file.

Classes

class  pmem::obj::experimental::v< T >
 pmem::obj::experimental::v - volatile resides on pmem class. More...
 

Namespaces

 pmem
 A persistent version of concurrent hash map implementation Ref: https://arxiv.org/abs/1509.02235.
 

Functions

template<class T >
void pmem::obj::experimental::swap (v< T > &a, v< T > &b)
 Swaps two v objects of the same type. More...
 

Detailed Description

Volatile resides on pmem property template.

Function Documentation

◆ swap()

template<class T >
void pmem::obj::experimental::swap ( v< T > &  a,
v< T > &  b 
)
inline

Swaps two v objects of the same type.

Non-member swap function as required by Swappable concept. en.cppreference.com/w/cpp/concept/Swappable