Boost logo

Boost :

From: Joaquín M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2024-12-05 13:11:06


> No dia 5 de dez. de 2024, às 12:52, Peter Dimov via Boost <boost_at_[hidden]> escreveu:
>
> […]
> And I don't want to force hash algorithm authors to have to include
> <boost/hash2/span.hpp>, because this would mean a physical dependency
> on Hash2. At the moment, you can define a hash algorithm without including
> anything from Hash2, or anything from Boost. And that's how it has to be.

You can define the interface of update as accepting a templatized arg with span-like semantics.

Joaquin M Lopez Munoz


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