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

Convenience extensions for the resides on pmem property template. More...

#include <iostream>
#include <libpmemobj++/p.hpp>
#include <limits>

Go to the source code of this file.

Namespaces

 pmem
 A persistent version of concurrent hash map implementation Ref: https://arxiv.org/abs/1509.02235.
 
 std
 A persistent version of concurrent hash map implementation Ref: https://arxiv.org/abs/1509.02235.
 

Functions

template<typename T >
std::ostream & pmem::obj::operator<< (std::ostream &os, const p< T > &pp)
 Ostream operator overload.
 
template<typename T >
std::istream & pmem::obj::operator>> (std::istream &is, p< T > &pp)
 Istream operator overload.
 
template<typename T >
p< T > & pmem::obj::operator++ (p< T > &pp)
 Prefix increment operator overload.
 
template<typename T >
p< T > & pmem::obj::operator-- (p< T > &pp)
 Prefix decrement operator overload.
 
template<typename T >
p< T > pmem::obj::operator++ (p< T > &pp, int)
 Postfix increment operator overload.
 
template<typename T >
p< T > pmem::obj::operator-- (p< T > &pp, int)
 Postfix decrement operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator+= (p< T > &lhs, const p< Y > &rhs)
 Addition assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator+= (p< T > &lhs, const Y &rhs)
 Addition assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator-= (p< T > &lhs, const p< Y > &rhs)
 Subtraction assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator-= (p< T > &lhs, const Y &rhs)
 Subtraction assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator*= (p< T > &lhs, const p< Y > &rhs)
 Multiplication assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator*= (p< T > &lhs, const Y &rhs)
 Multiplication assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator/= (p< T > &lhs, const p< Y > &rhs)
 Division assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator/= (p< T > &lhs, const Y &rhs)
 Division assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator%= (p< T > &lhs, const p< Y > &rhs)
 Modulo assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator%= (p< T > &lhs, const Y &rhs)
 Modulo assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator&= (p< T > &lhs, const p< Y > &rhs)
 Bitwise AND assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator&= (p< T > &lhs, const Y &rhs)
 Bitwise AND assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator|= (p< T > &lhs, const p< Y > &rhs)
 Bitwise OR assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator|= (p< T > &lhs, const Y &rhs)
 Bitwise OR assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator^= (p< T > &lhs, const p< Y > &rhs)
 Bitwise XOR assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator^= (p< T > &lhs, const Y &rhs)
 Bitwise XOR assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator<<= (p< T > &lhs, const p< Y > &rhs)
 Bitwise left shift assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator<<= (p< T > &lhs, const Y &rhs)
 Bitwise left shift assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator>>= (p< T > &lhs, const p< Y > &rhs)
 Bitwise right shift assignment operator overload.
 
template<typename T , typename Y >
p< T > & pmem::obj::operator>>= (p< T > &lhs, const Y &rhs)
 Bitwise right shift assignment operator overload.
 

Detailed Description

Convenience extensions for the resides on pmem property template.