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

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.

Member Function Documentation

◆ is_null()

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

◆ null()

template<typename T>
constexpr std::optional< T > pqxx::nullness< std::optional< T > >::null ( )
inlinestaticconstexpr

Member Data Documentation

◆ always_null

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

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

◆ has_null

template<typename T>
bool pqxx::nullness< std::optional< T > >::has_null = true
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