File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ A C++ **asynchronous I/O** library based on [sender/receiver model](https://wg21
3535
3636### Build Options
3737- ` COIO_BUILD_EXAMPLES ` (` ON ` /` OFF ` , default ` OFF ` ) - Build example programs
38- - ` COIO_BUILD_TESTS ` (` ON/OFF ` , default ` OFF ` ) - Build ** doctest** -based tests
38+ - ` COIO_BUILD_TESTS ` (` ON/OFF ` , default ` OFF ` ) - Build [ ** doctest** ] ( https://github.com/doctest/doctest ) -based tests
3939- ` COIO_BUILD_WITH_ASAN ` (` ON ` /` OFF ` , default ` OFF ` ) - Whether to enable ** AddressSanitizer**
4040- ` COIO_BUILD_WITH_TSAN ` (` ON ` /` OFF ` , default ` OFF ` ) - Whether to enable ** ThreadSanitizer**
4141- ` COIO_BUILD_WITH_UBSAN ` (` ON ` /` OFF ` , default ` OFF ` ) - Whether to enable ** UndefinedBehaviorSanitizer**
Original file line number Diff line number Diff line change @@ -182,9 +182,6 @@ namespace coio {
182182 Sexpr sexpr;
183183 };
184184
185- template <typename T = void , typename Alloc = void >
186- using task = coio::task<T, Alloc, scheduler>;
187-
188185 public:
189186 using scheduler_base::scheduler_base;
190187
@@ -203,6 +200,9 @@ namespace coio {
203200 friend auto operator == (const scheduler& lhs, const scheduler& rhs) -> bool = default ;
204201 };
205202
203+ template <typename T = void , typename Alloc = void >
204+ using task = coio::task<T, Alloc, scheduler>;
205+
206206 private:
207207 explicit epoll_context (std::nullptr_t , std::pmr::memory_resource& memory_resource) noexcept :
208208 loop_base(memory_resource), epoll_fd_(-1 ) {}
You can’t perform that action at this time.
0 commit comments