diff options
Diffstat (limited to 'libcxx/include/experimental/coroutine')
| -rw-r--r-- | libcxx/include/experimental/coroutine | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/include/experimental/coroutine b/libcxx/include/experimental/coroutine index 206fde22a23..42ee3ed2f97 100644 --- a/libcxx/include/experimental/coroutine +++ b/libcxx/include/experimental/coroutine @@ -212,6 +212,9 @@ public: return __tmp; } + // from_address cannot be used with the coroutines promise type. + static coroutine_handle from_address(_Promise*) = delete; + _LIBCPP_ALWAYS_INLINE static coroutine_handle from_promise(_Promise& __promise) _NOEXCEPT { coroutine_handle __tmp; |

