proxygen
folly::detail::cmp_pred< C, o, ne > Struct Template Reference

#include <Ordering.h>

Inheritance diagram for folly::detail::cmp_pred< C, o, ne >:

Public Member Functions

template<typename A , typename B >
constexpr bool operator() (A &&a, B &&b) const
 

Detailed Description

template<typename C, ordering o, bool ne>
struct folly::detail::cmp_pred< C, o, ne >

Definition at line 31 of file Ordering.h.

Member Function Documentation

template<typename C, ordering o, bool ne>
template<typename A , typename B >
constexpr bool folly::detail::cmp_pred< C, o, ne >::operator() ( A &&  a,
B &&  b 
) const
inline

Definition at line 35 of file Ordering.h.

35  {
36  return ne ^ (C::operator()(static_cast<A&&>(a), static_cast<B&&>(b)) == o);
37  }
char b
char a

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