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

Method getFirstRef

lout/misc.hh:519–522  ·  view source on GitHub ↗

* \brief Return the reference of the first element (convenience method). */

Source from the content-addressed store, hash-verified

517 * \brief Return the reference of the first element (convenience method).
518 */
519 inline T* getFirstRef () const {
520 assert (size () > 0);
521 return this->getRef(0);
522 }
523
524 /**
525 * \brief Return the first element, explicitly.

Callers 1

getFirstMethod · 0.95

Calls 1

getRefMethod · 0.95

Tested by

no test coverage detected