Boost logo

Boost :

From: Jeff Garland (azswdude_at_[hidden])
Date: 2023-11-28 18:09:19


On Tue, Nov 28, 2023 at 10:45 AM Andrey Semashev via Boost <
boost_at_[hidden]> wrote:

> On 11/28/23 19:58, Jeff Garland via Boost wrote:
> >
> > The Introduction section of the docs should really have a link to
> > the reference below which provides deep motivation and discussion.
> > Unfortunately just pointing at the 'Technical Specification' just shows
> the
> > result and not the details that led to it.
> >
> > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0052r10.pdf
>
> Thanks for the link to the proposal, I've added it to the library docs.
>

Maybe another thought would be to have a section that actually describes
the extensions from the TS proposal (like the boost scoped exit compare) --
or did I miss it in the docs? My quick comparison looks to be mostly the
fd_deleter and unique_fd stuff and not so much in the core api? Which are
pure extensions and could be clearly marked as such -- and could later be
converted to work with std::scope_* if people wanted?

And fyi -- if you're not aware of this improvement it's already in 26
working paper and gcc 14:
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p1759r6.html
That might be motivation for including something like unique_fd at the
standard level as well.

Jeff


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