pext.hpp File Reference

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

`#include "libpmemobj++/p.hpp"`
`#include <iostream>`
`#include <limits>`
Include dependency graph for pext.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## 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.