@@ -714,15 +714,15 @@ namespace cppcoro
714
714
{
715
715
public:
716
716
bool await_ready() const noexcept;
717
- bool await_suspend(std::experimental ::coroutine_handle<> awaiter) noexcept;
717
+ bool await_suspend(cppcoro ::coroutine_handle<> awaiter) noexcept;
718
718
void await_resume() const noexcept;
719
719
};
720
720
721
721
class async_mutex_scoped_lock_operation
722
722
{
723
723
public:
724
724
bool await_ready() const noexcept;
725
- bool await_suspend(std::experimental ::coroutine_handle<> awaiter) noexcept;
725
+ bool await_suspend(cppcoro ::coroutine_handle<> awaiter) noexcept;
726
726
[[ nodiscard]] async_mutex_lock await_resume() const noexcept;
727
727
};
728
728
@@ -836,7 +836,7 @@ namespace cppcoro
836
836
async_manual_reset_event_operation(async_manual_reset_event& event) noexcept;
837
837
838
838
bool await_ready() const noexcept;
839
- bool await_suspend(std::experimental ::coroutine_handle<> awaiter) noexcept;
839
+ bool await_suspend(cppcoro ::coroutine_handle<> awaiter) noexcept;
840
840
void await_resume() const noexcept;
841
841
};
842
842
}
@@ -904,7 +904,7 @@ namespace cppcoro
904
904
async_auto_reset_event_operation(const async_auto_reset_event_operation& other) noexcept;
905
905
906
906
bool await_ready() const noexcept;
907
- bool await_suspend(std::experimental ::coroutine_handle<> awaiter) noexcept;
907
+ bool await_suspend(cppcoro ::coroutine_handle<> awaiter) noexcept;
908
908
void await_resume() const noexcept;
909
909
910
910
};
@@ -1389,7 +1389,7 @@ namespace cppcoro
1389
1389
schedule_operation(static_thread_pool* tp) noexcept;
1390
1390
1391
1391
bool await_ready() noexcept;
1392
- bool await_suspend(std::experimental ::coroutine_handle<> h) noexcept;
1392
+ bool await_suspend(cppcoro ::coroutine_handle<> h) noexcept;
1393
1393
bool await_resume() noexcept;
1394
1394
1395
1395
private:
@@ -1546,7 +1546,7 @@ namespace cppcoro
1546
1546
schedule_operation& operator=(const schedule_operation&) noexcept;
1547
1547
1548
1548
bool await_ready() const noexcept;
1549
- void await_suspend(std::experimental ::coroutine_handle<> awaiter) noexcept;
1549
+ void await_suspend(cppcoro ::coroutine_handle<> awaiter) noexcept;
1550
1550
void await_resume() noexcept;
1551
1551
};
1552
1552
@@ -1560,7 +1560,7 @@ namespace cppcoro
1560
1560
timed_schedule_operation& operator=(timed_schedule_operation&&) = delete;
1561
1561
1562
1562
bool await_ready() const noexcept;
1563
- void await_suspend(std::experimental ::coroutine_handle<> awaiter);
1563
+ void await_suspend(cppcoro ::coroutine_handle<> awaiter);
1564
1564
void await_resume();
1565
1565
};
1566
1566
@@ -1591,12 +1591,12 @@ Example:
1591
1591
#include <cppcoro/io_service.hpp>
1592
1592
#include <cppcoro/read_only_file.hpp>
1593
1593
1594
- #include <experimental /filesystem>
1594
+ #include <cppcoro /filesystem.hpp >
1595
1595
#include <memory>
1596
1596
#include <algorithm>
1597
1597
#include <iostream>
1598
1598
1599
- namespace fs = std::experimental ::filesystem;
1599
+ namespace fs = cppcoro ::filesystem;
1600
1600
1601
1601
cppcoro::task<std::uint64_t> count_lines(cppcoro::io_service& ioService, fs::path path)
1602
1602
{
@@ -1740,7 +1740,7 @@ namespace cppcoro
1740
1740
file_read_operation(file_read_operation&& other) noexcept;
1741
1741
1742
1742
bool await_ready() const noexcept;
1743
- bool await_suspend(std::experimental ::coroutine_handle<> awaiter);
1743
+ bool await_suspend(cppcoro ::coroutine_handle<> awaiter);
1744
1744
std::size_t await_resume();
1745
1745
1746
1746
};
@@ -1752,7 +1752,7 @@ namespace cppcoro
1752
1752
file_write_operation(file_write_operation&& other) noexcept;
1753
1753
1754
1754
bool await_ready() const noexcept;
1755
- bool await_suspend(std::experimental ::coroutine_handle<> awaiter);
1755
+ bool await_suspend(cppcoro ::coroutine_handle<> awaiter);
1756
1756
std::size_t await_resume();
1757
1757
1758
1758
};
@@ -1774,7 +1774,7 @@ namespace cppcoro
1774
1774
[[nodiscard]]
1775
1775
static read_only_file open(
1776
1776
io_service& ioService,
1777
- const std::experimental ::filesystem::path& path,
1777
+ const cppcoro ::filesystem::path& path,
1778
1778
file_share_mode shareMode = file_share_mode::read,
1779
1779
file_buffering_mode bufferingMode = file_buffering_mode::default_);
1780
1780
@@ -1787,7 +1787,7 @@ namespace cppcoro
1787
1787
[[nodiscard]]
1788
1788
static write_only_file open(
1789
1789
io_service& ioService,
1790
- const std::experimental ::filesystem::path& path,
1790
+ const cppcoro ::filesystem::path& path,
1791
1791
file_open_mode openMode = file_open_mode::create_or_open,
1792
1792
file_share_mode shareMode = file_share_mode::none,
1793
1793
file_buffering_mode bufferingMode = file_buffering_mode::default_);
@@ -1801,7 +1801,7 @@ namespace cppcoro
1801
1801
[[nodiscard]]
1802
1802
static read_write_file open(
1803
1803
io_service& ioService,
1804
- const std::experimental ::filesystem::path& path,
1804
+ const cppcoro ::filesystem::path& path,
1805
1805
file_open_mode openMode = file_open_mode::create_or_open,
1806
1806
file_share_mode shareMode = file_share_mode::none,
1807
1807
file_buffering_mode bufferingMode = file_buffering_mode::default_);
@@ -2794,7 +2794,7 @@ coroutine.
2794
2794
2795
2795
A type that satisfies ` Awaiter<T> ` must have, for an instance of the type, ` awaiter ` :
2796
2796
- ` awaiter.await_ready() ` -> ` bool `
2797
- - ` awaiter.await_suspend(std::experimental:: coroutine_handle<void>{}) ` -> ` void ` or ` bool ` or ` std::experimental ::coroutine_handle<P>` for some ` P ` .
2797
+ - ` awaiter.await_suspend(cppcoro:: coroutine_handle<void>{}) ` -> ` void ` or ` bool ` or ` cppcoro ::coroutine_handle<P>` for some ` P ` .
2798
2798
- ` awaiter.await_resume() ` -> ` T `
2799
2799
2800
2800
Any type that implements the ` Awaiter<T> ` concept also implements the ` Awaitable<T> ` concept.
0 commit comments