Boost logo

Boost :

From: Ivan Matek (libbooze_at_[hidden])
Date: 2021-07-24 14:22:14


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.

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.

regards,
Ivan


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