folly::LockFreeRingBuffer::Cursor::operator==

Compares two cursors for equality.

Synopsis

Declared in <folly/concurrency/container/LockFreeRingBuffer.h>

bool
operator==(Cursor const& that) const noexcept;

Return Value

True if both cursors point to the same write.

Parameters

NameDescription
thatThe cursor to compare against.