mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
Cleanup
This commit is contained in:
parent
151dc56297
commit
f6151262dc
@ -55,22 +55,6 @@ template <typename... T> struct promise {
|
||||
bool is_canceled() const noexcept { return false; }
|
||||
};
|
||||
|
||||
template <typename... T> struct promise {
|
||||
void set_value(T...) noexcept {}
|
||||
|
||||
void operator()(T...) && noexcept {}
|
||||
|
||||
void set_exception(std::exception_ptr exception) noexcept {
|
||||
// ...
|
||||
(void)exception;
|
||||
}
|
||||
|
||||
void set_error(std::error_code error) noexcept {
|
||||
// ...
|
||||
(void)error;
|
||||
}
|
||||
};
|
||||
|
||||
template <typename... Result> struct accumulator {
|
||||
auto accumulate() {
|
||||
return [] {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user