Defined in adapters.hpp.
This type should be a stateless trivially default constructible with a call operator of signature void operator()(Value&, Value&) (possibly noexcept, inline and/or constexpr also) which swaps its arguments.
| Value | the type of objects to swap. |
The second template parameter exists for SFINAE.
Public Member Functions | |
| void | operator() (Value &x, Value &y) |
Swap x and y. | |
|
inline |
This call operator swaps x and y using std::swap.
| x | reference to Value to swap with y. |
| y | reference to Value to swap with x. |