Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2023-12-02 15:55:27


Andrey Semashev wrote:
> Interestingly, there seems to be a proposal to add `defer` to C:
>
> https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2895.htm

Interestingly, the proposed `defer` is literally your
BOOST_SCOPE_FINAL, complete with the mandatory [&].

So this is both an argument for retaining the explicit [&] and an
argument in favor of renaming it to BOOST_SCOPE_DEFER.

It's not clear what are the chances of N2895 in WG14, of course.


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