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

#include <conversions.hxx>

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

template<typename... T>
static constexpr bool pqxx::nullness< std::variant< T... > >::is_null ( std::variant< T... > const &  value)
inlinestaticnoexcept
template<typename... T>
static constexpr std::variant<T...> pqxx::nullness< std::variant< T... > >::null ( )
staticdelete

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

template<typename... T>
constexpr bool pqxx::nullness< std::variant< T... > >::always_null = (nullness<T>::always_null and ...)
static
template<typename... T>
constexpr bool pqxx::nullness< std::variant< T... > >::has_null = (nullness<T>::has_null or ...)
static

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