Re: [Capy review] Some questions

Ruben Perez via Boost <[email protected]> Tue, 23 Jun 2026 19:23:00 +0200
Newsgroups gmane.comp.lib.boost.devel
Message-ID <CACR-mdJFOrRi53LU=aGBwnVUQn64LoAXh-+ud-H9zFMggDrepQ@mail.gmail.com>
On Tue, 23 Jun 2026 at 19:19, Vinnie Falco <[email protected]> wrote:
>
> On Tue, Jun 23, 2026 at 9:05 AM Ruben Perez via Boost <[email protected]> wrote:
>>
>> 6) Can I write types that satisfy ConstBufferSequence or DynamicBuffer without explicitly depending on Capy?
>
>
> In theory, this is possible. Buffer sequences are defined in terms of a range whose value type is convertible to const_buffer or mutable_buffer. This means Capy could add constructors to const_buffer and mutable_buffer for span, or SpanLike, and then it would work.

This would suit my use case and IMO reduce friction a lot.

>
> I have refrained from doing so until we get field experience through the asio bridges. It would be nice to keep the buffer sequences compatible with Asio. Although that might require tradeoffs that cost too much.

I understand your posture. I'll try to fill a more complete use case
before the review ends.

Best,
Ruben.
_______________________________________________
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/AM5EVH7YOS4ILGEOHG4NNW3GWTNP2JUS/