Skip to content

Commit

Permalink
Update README.md (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevermore1994 authored Dec 12, 2023
1 parent 08a4ab1 commit a58ea5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ You just need to include the header file [Channel.hpp](Channel.hpp)
// or sp->send(nums | std::views::take(3));
//use | operator
for (bool res : nums | std::views::drop(4) | SenderView(sp)){
for (bool res : nums | std::views::drop(4) | std::views::sender(sp) ){
//p = true, send success
std::cout << "send result:" << std::boolalpha << res << std::endl;
}
Expand Down Expand Up @@ -91,4 +91,4 @@ For specific usage, please refer to [example.cpp](./example.cpp)

If you cannot support C++23, you can refer to [cpp-channel][def]

[def]: https://github.com/andreiavrammsd/cpp-channel
[def]: https://github.com/andreiavrammsd/cpp-channel

0 comments on commit a58ea5b

Please sign in to comment.