PMEMKV  1.2.1-git1.g9b6e240
This is the C++ documentation for PMEMKV.
Public Member Functions | Public Attributes | List of all members
pmem::kv::internal::comparator_wrapper< Comparator > Struct Template Reference

#include </pmemkv/doc_update/pmemkv/src/libpmemkv.hpp>

Inheritance diagram for pmem::kv::internal::comparator_wrapper< Comparator >:
pmem::kv::internal::comparator_base

Public Member Functions

 comparator_wrapper (const Comparator &cmp)
 
 comparator_wrapper (Comparator &&cmp)
 
int compare (string_view key1, string_view key2) override
 
- Public Member Functions inherited from pmem::kv::internal::comparator_base
virtual ~comparator_base ()
 

Public Attributes

Comparator cmp
 

Constructor & Destructor Documentation

◆ comparator_wrapper() [1/2]

template<typename Comparator >
pmem::kv::internal::comparator_wrapper< Comparator >::comparator_wrapper ( const Comparator &  cmp)
inline

◆ comparator_wrapper() [2/2]

template<typename Comparator >
pmem::kv::internal::comparator_wrapper< Comparator >::comparator_wrapper ( Comparator &&  cmp)
inline

Member Function Documentation

◆ compare()

template<typename Comparator >
int pmem::kv::internal::comparator_wrapper< Comparator >::compare ( string_view  key1,
string_view  key2 
)
inlineoverridevirtual

Member Data Documentation

◆ cmp

template<typename Comparator >
Comparator pmem::kv::internal::comparator_wrapper< Comparator >::cmp

The documentation for this struct was generated from the following file: