proxygen
folly::poly::IEqualityComparable Struct Reference

#include <Regular.h>

Inheritance diagram for folly::poly::IEqualityComparable:
folly::PolyExtends<>

Public Types

template<class T >
using Members = FOLLY_POLY_MEMBERS(&isEqual_< T >)
 
- Public Types inherited from folly::PolyExtends<>
using Subsumptions = detail::TypeList< I... >
 
using Members = PolyMembers<>
 

Static Public Member Functions

template<class T >
static auto isEqual_ (T const &_this, T const &that) -> decltype(std::declval< bool(&)(bool)>()(_this==that))
 

Detailed Description

A Poly interface for types that are equality comparable.

Definition at line 26 of file Regular.h.

Member Typedef Documentation

Definition at line 34 of file Regular.h.

Member Function Documentation

template<class T >
static auto folly::poly::IEqualityComparable::isEqual_ ( T const &  _this,
T const &  that 
) -> decltype(std::declval<bool (&)(bool)>()(_this == that))
inlinestatic

Definition at line 28 of file Regular.h.

29  {
30  return _this == that;
31  }

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