PMDK C++ bindings  1.13.0-git85.g2ab46040
This is the C++ bindings documentation for PMDK's libpmemobj.
pmem::detail::can_do_snapshot< std::atomic< obj::experimental::self_relative_ptr< T > > > Struct Template Reference

pmem::detail::can_do_snapshot atomic specialization for self_relative_ptr. More...

#include <libpmemobj++/experimental/atomic_self_relative_ptr.hpp>

Public Types

using snapshot_type = obj::experimental::self_relative_ptr< T >
 

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
struct pmem::detail::can_do_snapshot< std::atomic< obj::experimental::self_relative_ptr< T > > >

pmem::detail::can_do_snapshot atomic specialization for self_relative_ptr.

Not thread safe.

Use in a single-threaded environment only.

Member Data Documentation

◆ value

template<typename T >
constexpr bool pmem::detail::can_do_snapshot< std::atomic< obj::experimental::self_relative_ptr< T > > >::value
staticconstexpr
Initial value:
= sizeof(std::atomic<snapshot_type>) ==
sizeof(typename snapshot_type::offset_type)

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