Re: [Capy review] Some questions

Vinnie Falco via Boost <[email protected]> Wed, 24 Jun 2026 10:38:56 -0700
Newsgroups gmane.comp.lib.boost.devel
Message-ID <CA+EzHGeSn+2C=cnjnuSEA5UcT7yCd0C7EuHasDW0Rwd=zgeixw@mail.gmail.com>
On Wed, Jun 24, 2026 at 10:34 AM Peter Dimov <[email protected]> wrote:

> I assume you mean array<span<byte const>, 3> here.
>

Yes


> ...the set of types considered buffers is closed, because const_buffer only
> has a finite set of constructors


Not if the constructor is a template. I realize that this is heading in the
direction of being functionally equivalent to the concept yet I still
prefer const_buffer and mutable_buffer as the delivery vehicle rather than
the named concept. If for no other reason, that Kohlhoff did it that way
and without knowing his rationale I lean towards doing the same.

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/AMHDKY3KWRQC4VGSQROMEWC5OP5ZDJYE/