Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-12-05 13:31:29


Alexander Grund wrote:
> So span<void const> then or as that isn't accepted span<char const> assuming
> sizeof(char)==sizeof(byte)

span<void const> doesn't exist, though. I was giving it as an example of
something that I would have added to the hypothetical hash2::span,
but no existing span library has it.

If we limit ourselves to std::span, I suppose we can just add three (or
four) overloads, one per byte type.

(Four because of char8_t.)

Definitely something to consider when Boost drops support for
C++17. Should be any time now.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk