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

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

#include <range.hxx>

Public Member Functions

 inclusive_bound ()=delete
 
constexpr inclusive_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(value< m_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::inclusive_bound< TYPE >

An inclusive boundary value to a pqxx::range.

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

Constructor & Destructor Documentation

◆ inclusive_bound() [1/2]

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

◆ inclusive_bound() [2/2]

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

Member Function Documentation

◆ extends_down_to()

template<has_less TYPE>
constexpr bool pqxx::inclusive_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::inclusive_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::inclusive_bound< TYPE >::get ( ) const &
inlineconstexprnoexcept

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