userver: ydb::ValueTraits< std::optional< T >, std::enable_if_t< meta::kIsRange< T > &&!meta::kIsMap< T > > > Struct Template Reference
Loading...
Searching...
No Matches
ydb::ValueTraits< std::optional< T >, std::enable_if_t< meta::kIsRange< T > &&!meta::kIsMap< T > > > Struct Template Reference

Detailed Description

template<typename T>
struct ydb::ValueTraits< std::optional< T >, std::enable_if_t< meta::kIsRange< T > &&!meta::kIsMap< T > > >

Definition at line 123 of file list.hpp.

+ Inheritance diagram for ydb::ValueTraits< std::optional< T >, std::enable_if_t< meta::kIsRange< T > &&!meta::kIsMap< T > > >:

Static Public Member Functions

static T Parse (NYdb::TValueParser &parser, const ParseContext &context)
 
static void Write (NYdb::TValueBuilderBase< Builder > &builder, const T &value)
 Writes an element of type T to builder.
 
static NYdb::TType MakeType ()=delete
 Uses NYdb::TTypeBuilder to create a representation of T type.
 

Member Function Documentation

◆ Parse()

static T ydb::ValueTraits< T, std::enable_if_t< meta::kIsRange< T > &&!meta::kIsMap< T > > >::Parse ( NYdb::TValueParser & parser,
const ParseContext & context )
inlinestatic

Parses an element of type T from parser. context may be used for diagnostic messages.

Definition at line 22 of file traits.hpp.

◆ Write()

static void ydb::ValueTraits< T, std::enable_if_t< meta::kIsRange< T > &&!meta::kIsMap< T > > >::Write ( NYdb::TValueBuilderBase< Builder > & builder,
const T & value )
inlinestatic

Writes an element of type T to builder.

Definition at line 34 of file traits.hpp.


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