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

Volatile resides on pmem property template. More...

#include <memory>
#include <libpmemobj++/detail/common.hpp>
#include <libpmemobj++/detail/volatile.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...
 

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