proxygen
folly::detail::TransparentRangeEqualTo< T > Struct Template Reference

#include <HeterogeneousAccess.h>

Public Types

using is_transparent = void
 

Public Member Functions

template<typename U1 , typename U2 >
bool operator() (U1 const &lhs, U2 const &rhs) const
 
bool operator() (std::string const &lhs, std::string const &rhs) const
 

Detailed Description

template<typename T>
struct folly::detail::TransparentRangeEqualTo< T >

Definition at line 85 of file HeterogeneousAccess.h.

Member Typedef Documentation

template<typename T>
using folly::detail::TransparentRangeEqualTo< T >::is_transparent = void

Definition at line 86 of file HeterogeneousAccess.h.

Member Function Documentation

template<typename T>
template<typename U1 , typename U2 >
bool folly::detail::TransparentRangeEqualTo< T >::operator() ( U1 const &  lhs,
U2 const &  rhs 
) const
inline

Definition at line 89 of file HeterogeneousAccess.h.

89  {
90  return Range<T const*>{lhs} == Range<T const*>{rhs};
91  }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
template<typename T>
bool folly::detail::TransparentRangeEqualTo< T >::operator() ( std::string const &  lhs,
std::string const &  rhs 
) const
inline

Definition at line 96 of file HeterogeneousAccess.h.

96  {
97  return lhs == rhs;
98  }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649

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