Boost logo

Boost :

From: Edward Diener (eldiener_at_[hidden])
Date: 2021-07-24 20:11:19


On 7/24/2021 10:22 AM, Ivan Matek via Boost wrote:
> Hi,
> I would like to add is_clamped (that tests if the value is clamped, similar
> how we have std::is_sorted, std::sort).
>
> What would be the proper procedure?
>
> I have never committed to boost, so I have no access to any repository, no
> "contacts", so I have no idea if small proposals like this require just
> approval from owner or it needs broader discussion(for example in some
> cases it would be nice fix for missing chain comparison
> <https://www.geeksforgeeks.org/chaining-comparison-operators-python/> in
> core language, but then is_clamped name is not that nice, is_between might
> be nicer,...).
>
> Also I am not sure if this is the best place to ask for directions and do
> discussions, if you have some slack channel or forum you prefer please let
> me know.

You have posted to the right place. You can also, if you like, open
https://github.com/boostorg/algorithm and create an issue or program a
pull request if you like. With a pull request you do not have to have
write access to a repository in order to create a programming change.

>
> There was a proposal
> <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1440r0.html>for
> std::, but it is not in C++20. I have no relation to that proposal.


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