libpqxx
The C++ client library for PostgreSQL
pqxx::exclusive_bound< TYPE > Class Template Referencefinal

An exclusive boundary value to a pqxx::range. More...

#include <range.hxx>

Public Member Functions

 exclusive_bound ()=delete
 
constexpr exclusive_bound (TYPE const &value, sl loc=sl::current())
 
constexpr TYPE const & get () const &noexcept
 
constexpr bool extends_down_to (TYPE const &value) const noexcept(noexcept(m_value< value))
 Would this bound, as a lower bound, include value? More...
 
constexpr bool extends_up_to (TYPE const &value) const noexcept(noexcept(value< m_value))
 Would this bound, as an upper bound, include value? More...
 

Detailed Description

template<has_less TYPE>
class pqxx::exclusive_bound< TYPE >

An exclusive boundary value to a pqxx::range.

Use this as a lower or upper bound for a range if the range should not include the value.

Constructor & Destructor Documentation

◆ exclusive_bound() [1/2]

template<has_less TYPE>
pqxx::exclusive_bound< TYPE >::exclusive_bound ( )
delete

◆ exclusive_bound() [2/2]

template<has_less TYPE>
constexpr pqxx::exclusive_bound< TYPE >::exclusive_bound ( TYPE const &  value,
sl  loc = sl::current() 
)
inlineexplicitconstexpr

Member Function Documentation

◆ extends_down_to()

template<has_less TYPE>
constexpr bool pqxx::exclusive_bound< TYPE >::extends_down_to ( TYPE const &  value) const
inlineconstexprnoexcept

Would this bound, as a lower bound, include value?

◆ extends_up_to()

template<has_less TYPE>
constexpr bool pqxx::exclusive_bound< TYPE >::extends_up_to ( TYPE const &  value) const
inlineconstexprnoexcept

Would this bound, as an upper bound, include value?

◆ get()

template<has_less TYPE>
constexpr TYPE const& pqxx::exclusive_bound< TYPE >::get ( ) const &
inlineconstexprnoexcept

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