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

#include <conversions.hxx>

Static Public Member Functions

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

Static Public Attributes

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

Member Function Documentation

◆ is_null()

template<typename T >
static constexpr PQXX_PURE bool pqxx::nullness< std::optional< T > >::is_null ( std::optional< T > const &  v)
inlinestaticconstexprnoexcept

◆ null()

template<typename T >
static constexpr PQXX_PURE std::optional<T> pqxx::nullness< std::optional< T > >::null ( )
inlinestaticconstexprnoexcept

Member Data Documentation

◆ always_null

template<typename T >
constexpr bool pqxx::nullness< std::optional< T > >::always_null = pqxx::always_null<T>()
staticconstexpr

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

◆ has_null

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

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