v1 cleanup
This commit is contained in:
parent
a89b27d456
commit
38793a28e3
12 changed files with 32 additions and 220 deletions
10
include/Future.hpp
Normal file
10
include/Future.hpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
template<typename T>
|
||||
class Future
|
||||
{
|
||||
public:
|
||||
virtual ~Future() = default;
|
||||
virtual bool poll() = 0;
|
||||
virtual T& get() = 0;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue