Home
last modified time | relevance | path

Searched refs:swap_type (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.swappable/
H A Dswappable.pass.cpp227 using swap_type = std::remove_const_t<decltype(std::ranges::swap)>; typedef
228 static_assert(std::default_initializable<swap_type>);
229 static_assert(std::move_constructible<swap_type>);
230 static_assert(std::copy_constructible<swap_type>);
231 static_assert(std::assignable_from<swap_type&, swap_type>);
232 static_assert(std::assignable_from<swap_type&, swap_type&>);
233 static_assert(std::assignable_from<swap_type&, swap_type const&>);
234 static_assert(std::assignable_from<swap_type&, swap_type const>);
235 static_assert(std::swappable<swap_type>);