PMDK C++ bindings  1.10
This is the C++ bindings documentation for PMDK's libpmemobj.
Classes | 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.

Classes

struct  std::less< pmem::obj::p< T > >
 Specialization of std::less for p<T> More...
 

Namespaces

 pmem
 Persistent memory namespace.
 
 pmem::obj
 Main libpmemobj namespace.
 

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.