diff options
author | Edward Smith-Rowland <3dw4rd@verizon.net> | 2016-07-15 17:16:32 +0000 |
---|---|---|
committer | Edward Smith-Rowland <emsr@gcc.gnu.org> | 2016-07-15 17:16:32 +0000 |
commit | 4db1cb44be3a9121ccbd517824cb280bbf62d833 (patch) | |
tree | 54ebeb5d20114eb85cee86260ec2b09fada95261 /gcc | |
parent | 4a1248da3997c0d1120cf283e4765e42a8e94dd8 (diff) | |
download | gcc-4db1cb44be3a9121ccbd517824cb280bbf62d833.zip gcc-4db1cb44be3a9121ccbd517824cb280bbf62d833.tar.gz gcc-4db1cb44be3a9121ccbd517824cb280bbf62d833.tar.bz2 |
Implement C++17 P0025 clamp.
2016-07-15 Edward Smith-Rowland <3dw4rd@verizon.net>
Implement C++17 P0025 clamp.
* include/bits/algorithmfwd.h: Declare clamp overloads.
* include/bits/stl_algo.h: Implement clamp. Feature __cpp_lib_clamp.
* testsuite/25_algorithms/clamp/1.cc: New test.
* testsuite/25_algorithms/clamp/2.cc: New test.
* testsuite/25_algorithms/clamp/constexpr.cc: New test.
* testsuite/25_algorithms/clamp/requirements/explicit_instantiation/
1.cc: New test.
* testsuite/25_algorithms/clamp/requirements/explicit_instantiation/
pod.cc: New test.
From-SVN: r238383
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions