endsWith overloads
Declared in <folly/Range.h>
Does this Range end with another range?
bool
endsWith(const_range_type const& other) const;
» more...
Does this Range end with the given element?
bool
endsWith(value_type const& c) const;
» more...
Does this Range end with another range, using a custom comparator?
template<class Comp>
bool
endsWith(
const_range_type const& other,
Comp&& eq) const;
» more...
other.c.| Name | Description |
|---|---|
| other | The suffix range to test for. |
| c | The element to test for. |
| eq | The equality comparison used to match elements. |