mrdocs::Polymorphic::operator*

Dereference operators

Synopses

Declared in <mrdocs/ADT/Polymorphic.hpp>

Dereference to the held object.

[[nodiscard]]
constexpr
T&
operator*() noexcept;

Dereference to the held object (const).

[[nodiscard]]
constexpr
T const&
operator*() const noexcept;

Return Value

  • Reference to the contained value.

  • Const reference to the contained value.

Created with MrDocs