P1651R0 bind_front should not unwrap reference_wrapper
authorJonathan Wakely <jwakely@redhat.com>
Tue, 6 Aug 2019 15:57:55 +0000 (16:57 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 6 Aug 2019 15:57:55 +0000 (16:57 +0100)
commitffc500dd41fd49db8e5ec5022389b664a1a04e6d
tree32cedd8cc552c0d7f8ea59ab1bf30e0348b0abf4
parenta38b51bc3a4cb1c4f22e5708b27379d37d141d90
P1651R0 bind_front should not unwrap reference_wrapper

P1651R0 bind_front should not unwrap reference_wrapper
* include/std/functional (bind_front): Don't unwrap reference_wrapper.
* include/std/version (__cpp_lib_bind_front): Update value.
* testsuite/20_util/function_objects/bind_front/1.cc: Fix test for
feature test macro.
* testsuite/20_util/function_objects/bind_front/2.cc: New test.

From-SVN: r274146
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/20_util/function_objects/bind_front/1.cc
libstdc++-v3/testsuite/20_util/function_objects/bind_front/2.cc [new file with mode: 0644]