tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
etl::swappable Concept Reference

#include <swappable.hpp>

Concept definition

template<typename T>
concept etl::swappable = requires(T& a, T& b) {
swap(a, b);
}
Definition swappable.hpp:13
auto swap(inplace_function< R(Args...), Capacity, Alignment > &lhs, inplace_function< R(Args...), Capacity, Alignment > &rhs) noexcept -> void
Overloads the etl::swap algorithm for etl::inplace_function. Exchanges the state of lhs with that of ...
Definition inplace_function.hpp:249

Detailed Description

Todo
Convert to ranges::swap once available