mp_units::swap

Synopsis

Declared in <mp-units/ext/fixed_string.h>

template<
    typename CharT,
    std::size_t N>
constexpr
void
swap(
    basic_fixed_string<CharT, N>& lhs,
    basic_fixed_string<CharT, N>& rhs) noexcept;

NOTE

This function is a hidden friend of basic_fixed_string, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.

Parameters

NameDescription
lhsA compile-time fixed string
rhsA compile-time fixed string