Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2024-12-07 02:03:26


On Fri, Dec 6, 2024 at 5:49 PM Andrey Semashev via Boost <
boost_at_[hidden]> wrote:

> ...and update()...
>

Yes, the named requirements for update should have this language added:

    The behavior of subsequent calls to update() after finalize() has been
called at least once is undefined unless specified by the HashAlgorithm.

> I believe, the change is in the opposite direction, i.e. the behavior is
> more loosely defined after the change (UB) than before it (valid call,
> returns new data).
>

Oops... yes I think I bungled that :) Thankfully, you still understood.

Regards


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