proxygen
folly::gen::TryTo< Dest > Class Template Reference

#include <Base.h>

Public Member Functions

template<class Value >
Expected< Dest, ConversionCodeoperator() (Value &&value) const
 

Detailed Description

template<class Dest>
class folly::gen::TryTo< Dest >

Definition at line 240 of file Base.h.

Member Function Documentation

template<class Dest >
template<class Value >
Expected<Dest, ConversionCode> folly::gen::TryTo< Dest >::operator() ( Value &&  value) const
inline

Definition at line 243 of file Base.h.

References folly::value().

243  {
244  return ::folly::tryTo<Dest>(std::forward<Value>(value));
245  }
uint64_t value(const typename LockFreeRingBuffer< T, Atom >::Cursor &rbcursor)

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