9 #ifndef LIBPMEMOBJ_CPP_PEXT_HPP
10 #define LIBPMEMOBJ_CPP_PEXT_HPP
99 template <
typename T,
typename Y>
111 template <
typename T,
typename Y>
123 template <
typename T,
typename Y>
135 template <
typename T,
typename Y>
147 template <
typename T,
typename Y>
159 template <
typename T,
typename Y>
171 template <
typename T,
typename Y>
183 template <
typename T,
typename Y>
195 template <
typename T,
typename Y>
207 template <
typename T,
typename Y>
219 template <
typename T,
typename Y>
231 template <
typename T,
typename Y>
243 template <
typename T,
typename Y>
255 template <
typename T,
typename Y>
267 template <
typename T,
typename Y>
279 template <
typename T,
typename Y>
281 operator^=(
p<T> &lhs,
const Y &rhs)
291 template <
typename T,
typename Y>
293 operator<<=(
p<T> &lhs,
const p<Y> &rhs)
303 template <
typename T,
typename Y>
305 operator<<=(p<T> &lhs,
const Y &rhs)
307 lhs.
get_rw() = lhs.get_ro() << rhs;
315 template <
typename T,
typename Y>
327 template <
typename T,
typename Y>
344 template <
typename T>
345 struct numeric_limits<
pmem::obj::p<T>> :
public numeric_limits<T> {
347 static constexpr
bool is_specialized =
true;
353 template <
typename T>
Resides on pmem class.
Definition: p.hpp:36
std::istream & operator>>(std::istream &is, p< T > &pp)
Istream operator overload.
Definition: pext.hpp:39
p< T > & operator|=(p< T > &lhs, const Y &rhs)
Bitwise OR assignment operator overload.
Definition: pext.hpp:257
p< T > & operator*=(p< T > &lhs, const Y &rhs)
Multiplication assignment operator overload.
Definition: pext.hpp:161
p< T > & operator-=(p< T > &lhs, const Y &rhs)
Subtraction assignment operator overload.
Definition: pext.hpp:137
p< T > & operator>>=(p< T > &lhs, const p< Y > &rhs)
Bitwise right shift assignment operator overload.
Definition: pext.hpp:317
p< T > & operator%=(p< T > &lhs, const p< Y > &rhs)
Modulo assignment operator overload.
Definition: pext.hpp:197
p< T > & operator++(p< T > &pp)
Prefix increment operator overload.
Definition: pext.hpp:51
T & get_rw()
Retrieves read-write reference of the object.
Definition: p.hpp:114
p< T > & operator*=(p< T > &lhs, const p< Y > &rhs)
Multiplication assignment operator overload.
Definition: pext.hpp:149
p< T > operator++(p< T > &pp, int)
Postfix increment operator overload.
Definition: pext.hpp:75
p< T > & operator&=(p< T > &lhs, const Y &rhs)
Bitwise AND assignment operator overload.
Definition: pext.hpp:233
p< T > & operator/=(p< T > &lhs, const p< Y > &rhs)
Division assignment operator overload.
Definition: pext.hpp:173
p< T > & operator/=(p< T > &lhs, const Y &rhs)
Division assignment operator overload.
Definition: pext.hpp:185
p< T > & operator%=(p< T > &lhs, const Y &rhs)
Modulo assignment operator overload.
Definition: pext.hpp:209
p< T > & operator>>=(p< T > &lhs, const Y &rhs)
Bitwise right shift assignment operator overload.
Definition: pext.hpp:329
p< T > & operator|=(p< T > &lhs, const p< Y > &rhs)
Bitwise OR assignment operator overload.
Definition: pext.hpp:245
p< T > & operator+=(p< T > &lhs, const p< Y > &rhs)
Addition assignment operator overload.
Definition: pext.hpp:101
p< T > & operator+=(p< T > &lhs, const Y &rhs)
Addition assignment operator overload.
Definition: pext.hpp:113
p< T > & operator&=(p< T > &lhs, const p< Y > &rhs)
Bitwise AND assignment operator overload.
Definition: pext.hpp:221
const T & get_ro() const noexcept
Retrieves read-only const reference of the object.
Definition: p.hpp:129
p< T > operator--(p< T > &pp, int)
Postfix decrement operator overload.
Definition: pext.hpp:88
p< T > & operator--(p< T > &pp)
Prefix decrement operator overload.
Definition: pext.hpp:63
p< T > & operator^=(p< T > &lhs, const p< Y > &rhs)
Bitwise XOR assignment operator overload.
Definition: pext.hpp:269
p< T > & operator-=(p< T > &lhs, const p< Y > &rhs)
Subtraction assignment operator overload.
Definition: pext.hpp:125
std::ostream & operator<<(std::ostream &os, const radix_tree< K, V, BV, MtMode > &tree)
Prints tree in DOT format.
Definition: radix_tree.hpp:2843
Persistent memory namespace.
Definition: allocation_flag.hpp:15
Resides on pmem property template.