PMDK C++ bindings
1.8.1
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Go to the documentation of this file.
38 #ifndef LIBPMEMOBJ_CPP_PEXT_HPP
39 #define LIBPMEMOBJ_CPP_PEXT_HPP
109 template <
typename T>
121 template <
typename T,
typename Y>
132 template <
typename T,
typename Y>
143 template <
typename T,
typename Y>
154 template <
typename T,
typename Y>
165 template <
typename T,
typename Y>
176 template <
typename T,
typename Y>
187 template <
typename T,
typename Y>
198 template <
typename T,
typename Y>
209 template <
typename T,
typename Y>
220 template <
typename T,
typename Y>
231 template <
typename T,
typename Y>
242 template <
typename T,
typename Y>
253 template <
typename T,
typename Y>
264 template <
typename T,
typename Y>
275 template <
typename T,
typename Y>
286 template <
typename T,
typename Y>
297 template <
typename T,
typename Y>
299 operator<<=(p<T> &lhs,
const p<Y> &rhs)
301 lhs.get_rw() = lhs.get_ro() << rhs.get_ro();
308 template <
typename T,
typename Y>
310 operator<<=(p<T> &lhs,
const Y &rhs)
312 lhs.get_rw() = lhs.get_ro() << rhs;
319 template <
typename T,
typename Y>
330 template <
typename T,
typename Y>
345 template <
typename T>
346 struct numeric_limits<
pmem::obj::p<T>> :
public numeric_limits<T> {
348 static constexpr
bool is_specialized =
true;
p< T > & operator*=(p< T > &lhs, const p< Y > &rhs)
Multiplication assignment operator overload.
Definition: pext.hpp:167
p< T > & operator+=(p< T > &lhs, const p< Y > &rhs)
Addition assignment operator overload.
Definition: pext.hpp:123
const T & get_ro() const noexcept
Retrieves read-only const reference of the object.
Definition: p.hpp:157
A persistent version of concurrent hash map implementation Ref: https://arxiv.org/abs/1509....
Definition: allocation_flag.hpp:44
p< T > & operator^=(p< T > &lhs, const p< Y > &rhs)
Bitwise XOR assignment operator overload.
Definition: pext.hpp:277
p< T > & operator/=(p< T > &lhs, const p< Y > &rhs)
Division assignment operator overload.
Definition: pext.hpp:189
p< T > & operator|=(p< T > &lhs, const p< Y > &rhs)
Bitwise OR assignment operator overload.
Definition: pext.hpp:255
Resides on pmem class.
Definition: p.hpp:64
p< T > & operator&=(p< T > &lhs, const p< Y > &rhs)
Bitwise AND assignment operator overload.
Definition: pext.hpp:233
std::istream & operator>>(std::istream &is, p< T > &pp)
Istream operator overload.
Definition: pext.hpp:66
Resides on pmem property template.
T & get_rw()
Retrieves read-write reference of the object.
Definition: p.hpp:142
p< T > & operator-=(p< T > &lhs, const p< Y > &rhs)
Subtraction assignment operator overload.
Definition: pext.hpp:145
std::ostream & operator<<(std::ostream &os, persistent_ptr< T > const &pptr)
Ostream operator for the persistent pointer.
Definition: persistent_ptr.hpp:655
A persistent version of concurrent hash map implementation Ref: https://arxiv.org/abs/1509....
Definition: concurrent_hash_map.hpp:66
p< T > & operator++(p< T > &pp)
Prefix increment operator overload.
Definition: pext.hpp:77
p< T > & operator>>=(p< T > &lhs, const p< Y > &rhs)
Bitwise right shift assignment operator overload.
Definition: pext.hpp:321
p< T > & operator%=(p< T > &lhs, const p< Y > &rhs)
Modulo assignment operator overload.
Definition: pext.hpp:211
p< T > & operator--(p< T > &pp)
Prefix decrement operator overload.
Definition: pext.hpp:88