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

#include <F14TestUtil.h>

Public Types

using is_transparent = void
 

Public Member Functions

size_t operator() (Tracked< Tag > const &tracked) const
 
size_t operator() (uint64_t v) const
 

Detailed Description

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

Definition at line 281 of file F14TestUtil.h.

Member Typedef Documentation

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

Definition at line 282 of file F14TestUtil.h.

Member Function Documentation

template<int Tag>
size_t folly::f14::TransparentTrackedHash< Tag >::operator() ( Tracked< Tag > const &  tracked) const
inline

Definition at line 284 of file F14TestUtil.h.

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

284  {
285  return tracked.val_ ^ Tag;
286  }
template<int Tag>
size_t folly::f14::TransparentTrackedHash< Tag >::operator() ( uint64_t  v) const
inline

Definition at line 287 of file F14TestUtil.h.

287  {
288  return v ^ Tag;
289  }

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