Lines Matching defs:ss2
28 std::stop_source ss2;
30 assert(ss1 != ss2);
32 ss2.request_stop();
35 assert(ss2.stop_requested());
37 std::same_as<std::stop_source&> decltype(auto) ref = ss1 = ss2;
40 assert(ss1 == ss2);
42 assert(ss2.stop_requested());
48 std::stop_source ss2;
50 assert(ss1 != ss2);
52 ss2.request_stop();
56 assert(ss2.stop_requested());
57 assert(ss2.stop_possible());
59 std::same_as<std::stop_source&> decltype(auto) ref = ss1 = ss2;
62 assert(ss1 == 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 = 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 = ss2;
108 assert(ss1 == ss2);
111 assert(!ss2.stop_requested());
112 assert(!ss2.stop_possible());