swap overloads
Synopses
Declared in <mrdocs/ADT/Optional.hpp>
Swap the contents of two Error objects.
Swap the contents of two Polymorphic objects.
constexpr
void
swap(
Polymorphic& lhs,
Polymorphic& rhs) noexcept;
Swap two Optional references.
template<class T>
constexpr
void
swap(
Optional<T&>& a,
Optional<T&>& b) noexcept;
Parameters
Name |
Description |
lhs |
The first error to swap. |
rhs |
The second error to swap. |
a |
First optional reference. |
b |
Second optional reference. |
Created with MrDocs