mrdocs::dom::overlayObject

overlayObject overloads

Synopses

Declared in <mrdocs/Dom/OverlayObject.hpp>

Return an object that falls back to a parent for the keys it lacks.

Object
overlayObject(Object const& parent);
» more...

Return an object whose keys shadow the keys of a parent.

Object
overlayObject(
    Object const& child,
    Object const& parent);
» more...

Return Value

  • An overlay with an empty child, as OverlayObjectImpl makes.
  • An overlay of child over parent.

Parameters

NameDescription
parentThe object the overlay falls back to.
childThe object whose keys shadow the parent's, and which receives the writes.