Compare two wrapped pointers using std::greater.

Synopsis

Declared in <folly/lang/PropagateConst.h>

constexpr
bool
operator()(
    folly::propagate_const<Pointer> const& a,
    folly::propagate_const<Pointer> const& b);

Return Value

true if a's pointer is greater than b's pointer.

Parameters

Name

Description

a

The left‐hand wrapper.

b

The right‐hand wrapper.

Created with MrDocs