Lines Matching defs:ss2
29 std::stop_source ss2;
31 assert(ss1 != ss2);
33 ss2.request_stop();
36 assert(ss2.stop_requested());
38 std::same_as<std::stop_source&> decltype(auto) ref = ss1 = std::move(ss2);
42 assert(!ss2.stop_possible());
43 assert(!ss2.stop_requested());
49 std::stop_source ss2;
51 assert(ss1 != ss2);
53 ss2.request_stop();
57 assert(ss2.stop_requested());
58 assert(ss2.stop_possible());
60 std::same_as<std::stop_source&> decltype(auto) ref = ss1 = std::move(ss2);
65 assert(!ss2.stop_requested());
66 assert(!ss2.stop_possible());
72 std::stop_source ss2{std::nostopstate};
74 assert(ss1 != ss2);
80 assert(!ss2.stop_requested());
81 assert(!ss2.stop_possible());
83 std::same_as<std::stop_source&> decltype(auto) ref = ss1 = std::move(ss2);
86 assert(ss1 == ss2);
89 assert(!ss2.stop_requested());
90 assert(!ss2.stop_possible());
96 std::stop_source ss2{std::nostopstate};
98 assert(ss1 == ss2);
102 assert(!ss2.stop_requested());
103 assert(!ss2.stop_possible());
105 std::same_as<std::stop_source&> decltype(auto) ref = ss1 = std::move(ss2);
108 assert(ss1 == ss2);
111 assert(!ss2.stop_requested());
112 assert(!ss2.stop_possible());