10 lines
No EOL
139 B
C++
10 lines
No EOL
139 B
C++
#pragma once
|
|
|
|
template<typename T>
|
|
class Future
|
|
{
|
|
public:
|
|
virtual ~Future() = default;
|
|
virtual bool poll() = 0;
|
|
virtual T& get() = 0;
|
|
}; |