|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-12-19 18:06:03
Vinnie Falco wrote:
> On Thu, Dec 19, 2024 at 7:30â¯AM Christian Mazakas via Boost <
> boost_at_[hidden]> wrote:
>
> > users.find(user_id).map([](auto& user) { user.status =
> > deactivated; return user; });
> >
>
> try_find( users, user_id ).map(
> [](auto& user)
> {
> user.status = deactivated;
> return user;
> });
In what namespace and in what header is try_find defined?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk