proxygen
folly::LogName::Equals Struct Reference

#include <LogName.h>

Public Member Functions

bool operator() (folly::StringPiece a, folly::StringPiece b) const
 

Detailed Description

Equality functor that can be used with standard library containers.

Definition at line 82 of file LogName.h.

Member Function Documentation

bool folly::LogName::Equals::operator() ( folly::StringPiece  a,
folly::StringPiece  b 
) const
inline

Definition at line 83 of file LogName.h.

References folly::LogName::cmp().

83  {
84  return LogName::cmp(a, b) == 0;
85  }
static int cmp(folly::StringPiece nameA, folly::StringPiece nameB)
Definition: LogName.cpp:81

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