PMDK C++ bindings
1.6.1
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Vector container with std::vector compatible interface. More...
#include <libpmemobj++/detail/common.hpp>
#include <libpmemobj++/detail/iterator_traits.hpp>
#include <libpmemobj++/detail/life.hpp>
#include <libpmemobj++/detail/temp_value.hpp>
#include <libpmemobj++/experimental/contiguous_iterator.hpp>
#include <libpmemobj++/experimental/slice.hpp>
#include <libpmemobj++/make_persistent_array.hpp>
#include <libpmemobj++/persistent_ptr.hpp>
#include <libpmemobj++/pext.hpp>
#include <libpmemobj++/transaction.hpp>
#include <libpmemobj.h>
#include <algorithm>
#include <cassert>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | pmem::obj::experimental::vector< T > |
pmem::obj::experimental::vector - EXPERIMENTAL persistent container with std::vector compatible interface. More... | |
Functions | |
template<typename T > | |
void | pmem::obj::experimental::swap (vector< T > &lhs, vector< T > &rhs) |
Swaps the contents of lhs and rhs. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator== (const vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator!= (const vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator< (const vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator<= (const vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator> (const vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator>= (const vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator== (const vector< T > &lhs, const std::vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator!= (const vector< T > &lhs, const std::vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator< (const vector< T > &lhs, const std::vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator<= (const vector< T > &lhs, const std::vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator> (const vector< T > &lhs, const std::vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator>= (const vector< T > &lhs, const std::vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator== (const std::vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator!= (const std::vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator< (const std::vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator<= (const std::vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator> (const std::vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
template<typename T > | |
bool | pmem::obj::experimental::operator>= (const std::vector< T > &lhs, const vector< T > &rhs) |
Comparison operator. More... | |
Vector container with std::vector compatible interface.
bool pmem::obj::experimental::operator!= | ( | const std::vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers.
Checks if containers have the same number of elements and each element in lhs is equal to element in rhs at the same position.
[in] | lhs | first vector of type std::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator!= | ( | const vector< T > & | lhs, |
const std::vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers.
Checks if containers have the same number of elements and each element in lhs is equal to element in rhs at the same position.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type std::vector<T> |
bool pmem::obj::experimental::operator!= | ( | const vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers.
Checks if containers have the same number of elements and each element in lhs is equal to element in rhs at the same position.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator< | ( | const std::vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type std::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator< | ( | const vector< T > & | lhs, |
const std::vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type std::vector<T> |
bool pmem::obj::experimental::operator< | ( | const vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator<= | ( | const std::vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of ype std::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator<= | ( | const vector< T > & | lhs, |
const std::vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of ype std::vector<T> |
bool pmem::obj::experimental::operator<= | ( | const vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator== | ( | const std::vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers.
Checks if containers have the same number of elements and each element in lhs is equal to element in rhs at the same position.
[in] | lhs | first vector of type std::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator== | ( | const vector< T > & | lhs, |
const std::vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers.
Checks if containers have the same number of elements and each element in lhs is equal to element in rhs at the same position.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type std::vector<T> |
bool pmem::obj::experimental::operator== | ( | const vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers.
Checks if containers have the same number of elements and each element in lhs is equal to element in rhs at the same position.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator> | ( | const std::vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type std::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator> | ( | const vector< T > & | lhs, |
const std::vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type std::vector<T> |
bool pmem::obj::experimental::operator> | ( | const vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator>= | ( | const std::vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type std::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |
bool pmem::obj::experimental::operator>= | ( | const vector< T > & | lhs, |
const std::vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type std::vector<T> |
bool pmem::obj::experimental::operator>= | ( | const vector< T > & | lhs, |
const vector< T > & | rhs | ||
) |
Comparison operator.
Compares the contents of two containers lexicographically.
[in] | lhs | first vector of type pmem::obj::experimental::vector<T> |
[in] | rhs | second vector of type pmem::obj::experimental::vector<T> |