userver: storages::postgres::io::traits::GetSetNull< std::optional< T > > Struct Template Reference
Loading...
Searching...
No Matches
storages::postgres::io::traits::GetSetNull< std::optional< T > > Struct Template Reference

Detailed Description

template<typename T>
struct storages::postgres::io::traits::GetSetNull< std::optional< T > >

Definition at line 165 of file optional.hpp.

Public Types

using ValueType = std::optional<T>
 

Static Public Member Functions

static bool IsNull (const ValueType &v)
 
static void SetNull (ValueType &v)
 
static void SetDefault (ValueType &v)
 

Member Typedef Documentation

◆ ValueType

template<typename T >
using storages::postgres::io::traits::GetSetNull< std::optional< T > >::ValueType = std::optional<T>

Definition at line 166 of file optional.hpp.

Member Function Documentation

◆ IsNull()

template<typename T >
static bool storages::postgres::io::traits::GetSetNull< std::optional< T > >::IsNull ( const ValueType & v)
inlinestatic

Definition at line 167 of file optional.hpp.

◆ SetDefault()

template<typename T >
static void storages::postgres::io::traits::GetSetNull< std::optional< T > >::SetDefault ( ValueType & v)
inlinestatic

Definition at line 169 of file optional.hpp.

◆ SetNull()

template<typename T >
static void storages::postgres::io::traits::GetSetNull< std::optional< T > >::SetNull ( ValueType & v)
inlinestatic

Definition at line 168 of file optional.hpp.


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