mrdocs::nullable_traits<T>::null

Return the sentinel value representing null.

Synopsis

Declared in <mrdocs/ADT/Nullable.hpp>

constexpr
static
T
null() noexcept(/* see-below */);

Description

Construct a null value using the default constructor.

Exception specification

This function is potentially-throwing unless std::is_nothrow_default_constructible_v<T>.

Return Value

  • Sentinel value for T.

  • Default‐constructed T.

Created with MrDocs