mrdocs::dom::Unexpected

Construct a failed Expected value.

Synopsis

Declared in <mrdocs/Dom/Error.hpp>

using polyfill::Unexpected;

Description

Re‐exported from polyfill (defined there) so that Unexpected(e) deduces the error type on every supported compiler. Alias‐template CTAD (P1814) is not implemented everywhere (e.g. Clang 18).

Introduced Symbols

Name

Description

Unexpected

Construct an unexpected value, deducing the error type.

Created with MrDocs