mrdocs::polyfill::unexpected

Holds an unexpected error value for expected.

Synopsis

template<class E>
class unexpected;

Member Functions

Name

Description

unexpected [constructor]

Constructors

operator=

Assignment operators

error

error overloads

swap

Swap the contained error with another instance.

Deduction Guides

Name

Description

unexpected<E>

Deduction guide for unexpected, forwarding the error type.

Friends

Name

Description

mrdocs::polyfill::swap

Swap the stored errors of two unexpected objects.

mrdocs::polyfill::operator==

Equality operator

Non-Member Functions

Name

Description

Unexpected

Construct an unexpected value, deducing the error type.

Created with MrDocs