PMDK C++ bindings  1.11
This is the C++ bindings documentation for PMDK's libpmemobj.
Namespaces | Functions
conversions.hpp File Reference

Commonly used conversions. More...

#include <chrono>
#include <ctime>

Go to the source code of this file.

Namespaces

 pmem
 Persistent memory namespace.
 
 pmem::detail
 Implementation details.
 

Functions

template<typename Clock , typename Duration = typename Clock::duration>
timespec pmem::detail::timepoint_to_timespec (const std::chrono::time_point< Clock, Duration > &timepoint)
 Convert std::chrono::time_point to posix timespec. More...
 

Detailed Description

Commonly used conversions.