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

#include <conversions.hxx>

Static Public Member Functions

static constexpr bool is_null (std::optional< T > const &v) noexcept
 
static constexpr std::optional< T > null ()
 

Static Public Attributes

static constexpr bool has_null = true
 
static constexpr bool always_null = nullness<T>::always_null
 Technically, you could have an optional of an always-null type. More...
 

Member Function Documentation

template<typename T >
static constexpr bool pqxx::nullness< std::optional< T > >::is_null ( std::optional< T > const &  v)
inlinestaticnoexcept
template<typename T >
static constexpr std::optional<T> pqxx::nullness< std::optional< T > >::null ( )
inlinestatic

Member Data Documentation

template<typename T >
constexpr bool pqxx::nullness< std::optional< T > >::always_null = nullness<T>::always_null
static

Technically, you could have an optional of an always-null type.

template<typename T >
constexpr bool pqxx::nullness< std::optional< T > >::has_null = true
static

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