libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
pqxx::nullness< std::variant< T... > > Struct Template Reference

Static Public Member Functions

static constexpr bool is_null (std::variant< T... > const &value) noexcept
static constexpr std::variant< T... > null ()=delete

Static Public Attributes

static constexpr bool has_null = (nullness<T>::has_null or ...)
static constexpr bool always_null = (nullness<T>::always_null and ...)

Member Function Documentation

◆ is_null()

template<typename... T>
constexpr bool pqxx::nullness< std::variant< T... > >::is_null ( std::variant< T... > const & value)
inlinestaticconstexprnoexcept

◆ null()

template<typename... T>
constexpr std::variant< T... > pqxx::nullness< std::variant< T... > >::null ( )
staticconstexprdelete

It would be technically possible to have a null in the case where just one of the types has a null, but it gets complicated and arbitrary.

Member Data Documentation

◆ always_null

template<typename... T>
bool pqxx::nullness< std::variant< T... > >::always_null = (nullness<T>::always_null and ...)
staticconstexpr

◆ has_null

template<typename... T>
bool pqxx::nullness< std::variant< T... > >::has_null = (nullness<T>::has_null or ...)
staticconstexpr

The documentation for this struct was generated from the following file:
  • /builddir/build/BUILD/libpqxx-7.10.5-build/libpqxx-7.10.5/redhat-linux-build/include/pqxx/internal/conversions.hxx