sortiva/include/Future.hpp
2025-01-11 04:30:15 +01:00

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;
};