Lines Matching refs:future
12 // <future>
14 // class future<R>
16 // future& operator=(const future&) = delete;
18 #include <future>
26 std::future<int> f0, f;
30 std::future<int &> f0, f;
34 std::future<void> f0, f;
39 std::future<int> f0, f;
40 f = f0; // expected-error {{'operator=' is a private member of 'std::__1::future<int>'}}
43 std::future<int &> f0, f;
44 f = f0; // expected-error {{'operator=' is a private member of 'std::__1::future<int &>'}}
47 std::future<void> f0, f;
48 f = f0; // expected-error {{'operator=' is a private member of 'std::__1::future<void>'}}