libmdbx  0.11.6.39 (2022-04-13T11:05:50+03:00)
One of the fastest compact embeddable key-value ACID database without WAL.
mdbx::pair Struct Reference

Combines pair of slices for key and value to represent result of certain operations. More...

#include <mdbx.h++>

Inherited by mdbx::pair_result.

Public Member Functions

 pair (const slice &key, const slice &value) noexcept
 
 pair (const pair &) noexcept=default
 
pairoperator= (const pair &) noexcept=default
 
MDBX_CXX14_CONSTEXPR operator bool () const noexcept
 

Public Attributes

slice key
 
slice value
 

Detailed Description

Combines pair of slices for key and value to represent result of certain operations.

Constructor & Destructor Documentation

◆ pair() [1/2]

mdbx::pair::pair ( const slice key,
const slice value 
)
inlinenoexcept

◆ pair() [2/2]

mdbx::pair::pair ( const pair )
defaultnoexcept

Member Function Documentation

◆ operator bool()

MDBX_CXX14_CONSTEXPR mdbx::pair::operator bool ( ) const
inlinenoexcept

◆ operator=()

pair& mdbx::pair::operator= ( const pair )
defaultnoexcept

Member Data Documentation

◆ key

slice mdbx::pair::key

◆ value

slice mdbx::pair::value

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