proxygen
folly::dynamicconverter_detail::Dereferencer< std::pair< F, S > > Struct Template Reference

#include <DynamicConverter.h>

Static Public Member Functions

static void derefToCache (Optional< std::pair< F, S >> *mem, const dynamic::const_item_iterator &it)
 
template<typename T >
static void derefToCache (Optional< T > *mem, const dynamic::const_iterator &it)
 

Detailed Description

template<typename F, typename S>
struct folly::dynamicconverter_detail::Dereferencer< std::pair< F, S > >

Definition at line 124 of file DynamicConverter.h.

Member Function Documentation

template<typename F , typename S >
static void folly::dynamicconverter_detail::Dereferencer< std::pair< F, S > >::derefToCache ( Optional< std::pair< F, S >> *  mem,
const dynamic::const_item_iterator it 
)
inlinestatic

Definition at line 125 of file DynamicConverter.h.

127  {
128  mem->emplace(convertTo<F>(it->first), convertTo<S>(it->second));
129  }
template<typename F , typename S >
template<typename T >
static void folly::dynamicconverter_detail::Dereferencer< std::pair< F, S > >::derefToCache ( Optional< T > *  mem,
const dynamic::const_iterator it 
)
inlinestatic

Definition at line 133 of file DynamicConverter.h.

References folly::Optional< Value >::emplace().

135  {
136  mem->emplace(convertTo<T>(*it));
137  }

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