Re: [Capy review] Some questions

Vinnie Falco via Boost <[email protected]> Tue, 23 Jun 2026 10:18:50 -0700
Newsgroups gmane.comp.lib.boost.devel
Message-ID <CA+EzHGdLfgh4hRMtHDKwsScmymghDG1WogJaQTEdUUgv8=E0mQ@mail.gmail.com>
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.

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.

Thanks
_______________________________________________
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/O66X7EX5HGNWTIREEIQPFTT77UAA7DS7/