Re: Capy: Request for endorsements
Amlal El Mahrouss via Boost <[email protected]>
| Newsgroups | gmane.comp.lib.boost.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I'm endorsing capy after finishing reviewing it for a while, there is concepts such as:
- https://github.com/cppalliance/capy/blob/develop/include/boost/capy/concept/write_sink.hpp
- https://github.com/cppalliance/capy/blob/develop/include/boost/capy/concept/write_stream.hpp
Which are useful for plenty of I/O use cases such as HTTP, Distributed Systems, Multimedia, HFT, and of course Beast2.
I also have a question about the following snippet at: https://github.com/cppalliance/capy/blob/develop/example/asio/use_capy_example.cpp#L118C70-L119C1
We can see at line 119:
```cpp
capy::run_async(ctx.get_executor())(run_example(client, server));
```
It's elegant, but maybe we could also benefit from this syntax as well:
```cpp
auto& exec{ctx.get_executor()};
exec.run_async(run_example(client, server));
```
But overall the library is solid, I would 100% recommend it to someone else right now.
Thanks,
Best,
Amlal El Mahrouss
[email protected]
_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/XY27DBOL3HHK6QKWNU5QAHKJOT6F7EYZ/