mrdocs::swap

Swap the contents of two Error objects.

Synopsis

constexpr
void
swap(
    Error& lhs,
    Error& rhs) noexcept;

This function is a hidden friend of Error, declared only inside that class: it can be found only through argument-dependent lookup.

Parameters

Name

Description

lhs

The first error to swap.

rhs

The second error to swap.

Created with MrDocs