aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEdward Smith-Rowland <3dw4rd@verizon.net>2016-07-15 17:16:32 +0000
committerEdward Smith-Rowland <emsr@gcc.gnu.org>2016-07-15 17:16:32 +0000
commit4db1cb44be3a9121ccbd517824cb280bbf62d833 (patch)
tree54ebeb5d20114eb85cee86260ec2b09fada95261 /gcc
parent4a1248da3997c0d1120cf283e4765e42a8e94dd8 (diff)
downloadgcc-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