Home
last modified time | relevance | path

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

/llvm-project/libcxx/test/support/type_classification/
H A Dswappable.h231 class throwable_adl_swappable {
233 throwable_adl_swappable() = default;
235 constexpr throwable_adl_swappable(int value) noexcept : value_(value) {} in throwable_adl_swappable() function
237 constexpr throwable_adl_swappable(throwable_adl_swappable&& other) noexcept in throwable_adl_swappable() function
242 throwable_adl_swappable(throwable_adl_swappable const& other) noexcept in throwable_adl_swappable() function
246 constexpr throwable_adl_swappable&
247 operator=(throwable_adl_swappable other) noexcept {
252 friend constexpr void swap(throwable_adl_swappable& X, in swap()
253 throwable_adl_swappable& Y) noexcept(false) { in swap()
258 operator==(throwable_adl_swappable const& other) const noexcept {
[all …]
/llvm-project/libcxx/test/std/concepts/concepts.lang/concept.swappable/
H A Dswappable.pass.cpp102 auto x = throwable_adl_swappable{0}; in check_throwable_swappable()
103 auto y = throwable_adl_swappable{1}; in check_throwable_swappable()
158 throwable_adl_swappable x[] = {{0}, {1}, {2}, {3}}; in check_throwable_adl_swappable_arrays()
159 throwable_adl_swappable y[] = {{4}, {5}, {6}, {7}}; in check_throwable_adl_swappable_arrays()
285 auto const e = expected<std::optional<throwable_adl_swappable> >{ in main()