This commit is contained in:
Denis Blank 2017-03-18 02:20:04 +01:00
parent 151dc56297
commit f6151262dc

View File

@ -55,22 +55,6 @@ template <typename... T> struct promise {
bool is_canceled() const noexcept { return false; } 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 { template <typename... Result> struct accumulator {
auto accumulate() { auto accumulate() {
return [] {}; return [] {};