proxygen
folly::f14::TransparentTrackedEqual< Tag > Struct Template Reference

#include <F14TestUtil.h>

Public Types

using is_transparent = void
 

Public Member Functions

uint64_t unwrap (Tracked< Tag > const &v) const
 
uint64_t unwrap (uint64_t v) const
 
template<typename A , typename B >
bool operator() (A const &lhs, B const &rhs) const
 

Detailed Description

template<int Tag>
struct folly::f14::TransparentTrackedEqual< Tag >

Definition at line 293 of file F14TestUtil.h.

Member Typedef Documentation

template<int Tag>
using folly::f14::TransparentTrackedEqual< Tag >::is_transparent = void

Definition at line 294 of file F14TestUtil.h.

Member Function Documentation

template<int Tag>
template<typename A , typename B >
bool folly::f14::TransparentTrackedEqual< Tag >::operator() ( A const &  lhs,
B const &  rhs 
) const
inline

Definition at line 304 of file F14TestUtil.h.

References folly::gen::unwrap.

304  {
305  return unwrap(lhs) == unwrap(rhs);
306  }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
uint64_t unwrap(Tracked< Tag > const &v) const
Definition: F14TestUtil.h:296
template<int Tag>
uint64_t folly::f14::TransparentTrackedEqual< Tag >::unwrap ( Tracked< Tag > const &  v) const
inline

Definition at line 296 of file F14TestUtil.h.

References folly::f14::Tracked< Tag >::val_.

296  {
297  return v.val_;
298  }
template<int Tag>
uint64_t folly::f14::TransparentTrackedEqual< Tag >::unwrap ( uint64_t  v) const
inline

Definition at line 299 of file F14TestUtil.h.

References v.

299  {
300  return v;
301  }
auto v

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