Opened 9 years ago
Last modified 6 years ago
#9611 new Bugs
boost::algorithm::clamp not available as boost::clamp
Reported by: | Owned by: | Marshall Clow | |
---|---|---|---|
Milestone: | To Be Determined | Component: | algorithm |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
clamp isn't available in boost namespace itself while other algorithms are. Could it be added?
Change History (4)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
I don't see how backwards compat is a problem. Having the name available in both namespaces is simple AFAIK.
Soon we'll have std::clamp so then it won't matter as much.
Note:
See TracTickets
for help on using tickets.
It's not a problem. Not all algortihm available in boost namespace. A lot of algortihm yo can find in boost::algortihm.
I think, there are some historical problems and in the near future we can't do with that something useful (because backward compatibility).