ΒΆtemplate <class T>
inline constexpr void swap_nonoverlapping(
::sus::marker::UnsafeFnMarker,
T& lhs,
T& rhs) noexcept
template <class T>
inline constexpr void swap_nonoverlapping(
::sus::marker::UnsafeFnMarker,
T& lhs,
T& rhs) noexcept
Description
Swaps the objects `lhs` and `rhs`. # Safety The inputs must not both refer to the same object, and the objects must not be overlapping, or Undefined Behaviour may result.
Declared at: sus/mem/swap.h:70
Templates
- T
Parameters
- ::sus::marker::UnsafeFnMarker
- T& lhs
- T& rhs