Compare cursors for equality/inequality.

Synopsis

Declared in <folly/io/Cursor.h>

bool
operator==(CursorBase const& other) const;

Description

methodset Comparison

Two cursors are equal if they are pointing to the same location in the same IOBuf chain.

Return Value

True if the cursors point to the same location.

Parameters

Name

Description

other

The cursor to compare against.

Created with MrDocs