proxygen
folly::futures::detail::TryEquals< T > Struct Template Reference

#include <Future-inl.h>

Static Public Member Functions

static bool equals (const Try< T > &t1, const Try< T > &t2)
 

Detailed Description

template<class T>
struct folly::futures::detail::TryEquals< T >

Definition at line 2296 of file Future-inl.h.

Member Function Documentation

template<class T >
static bool folly::futures::detail::TryEquals< T >::equals ( const Try< T > &  t1,
const Try< T > &  t2 
)
inlinestatic

Definition at line 2297 of file Future-inl.h.

References folly::Try< T >::value().

Referenced by folly::Future< T >::willEqual().

2297  {
2298  return t1.value() == t2.value();
2299  }

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