Skip to content

Commit 9421cd5

Browse files
committed
Credit Lewis in the source, too
1 parent ccc58c4 commit 9421cd5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

include/stdexec/__detail/__connect_awaitable.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ namespace STDEXEC
122122
static constexpr auto
123123
operator new([[maybe_unused]] std::size_t __bytes, __opstate_t& __opstate) noexcept -> void*
124124
{
125+
// the first implementation of storing the coroutine frame inline in __opstate using the
126+
// technique in this file is due to Lewis Baker <lewissbaker@gmail.com>, and was first
127+
// shared at https://godbolt.org/z/zGG9fsPrz
125128
STDEXEC_ASSERT(__bytes == __storage_size);
126129
return __opstate.__storage_;
127130
}

0 commit comments

Comments
 (0)