Searched refs:throwable_adl_swappable (Results 1 – 2 of 2) sorted by relevance
231 class throwable_adl_swappable {233 throwable_adl_swappable() = default;235 constexpr throwable_adl_swappable(int value) noexcept : value_(value) {} in throwable_adl_swappable() function237 constexpr throwable_adl_swappable(throwable_adl_swappable&& other) noexcept in throwable_adl_swappable() function242 throwable_adl_swappable(throwable_adl_swappable const& other) noexcept in throwable_adl_swappable() function246 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 …]
102 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()