generator_promise::{initial,final}_suspend() can be noexcept
This commit is contained in:
parent
8929f9cc40
commit
a87e97fe5b
|
@ -32,8 +32,8 @@ namespace cppcoro
|
|||
|
||||
generator<T> get_return_object() noexcept;
|
||||
|
||||
constexpr std::experimental::suspend_always initial_suspend() const { return {}; }
|
||||
constexpr std::experimental::suspend_always final_suspend() const { return {}; }
|
||||
constexpr std::experimental::suspend_always initial_suspend() const noexcept { return {}; }
|
||||
constexpr std::experimental::suspend_always final_suspend() const noexcept { return {}; }
|
||||
|
||||
template<
|
||||
typename U = T,
|
||||
|
|
Loading…
Reference in New Issue