MCPcopy Create free account
hub / github.com/dillo-browser/dillo / equals

Method equals

lout/object.cc:51–55  ·  view source on GitHub ↗

* \brief Returns, whether two objects are equal. * * The caller should ensure, that this and the object have the same class; * this makes casting of "other" safe. Typically, an implementation should * check this == other first, the caller can assume a fast implementation. */

Source from the content-addressed store, hash-verified

49 * check this == other first, the caller can assume a fast implementation.
50 */
51bool Object::equals(Object *other)
52{
53 misc::assertNotReached ();
54 return false;
55}
56
57/**
58 * \brief Return a hash value for the object.

Callers

nothing calls this directly

Calls 1

assertNotReachedFunction · 0.85

Tested by

no test coverage detected