Fix cv-qualifiers in std::bind invocation
authorJonathan Wakely <jwakely@redhat.com>
Tue, 15 Dec 2015 14:17:17 +0000 (14:17 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 15 Dec 2015 14:17:17 +0000 (14:17 +0000)
commit6666731254089eadcc09361ff815d0de80516c6d
tree0a5cb6699d130b249c2d67f5e877e85e97f25fca
parent5c036f3f0a3ca5980709c385477e0b0af1dbcd30
Fix cv-qualifiers in std::bind invocation

PR libstdc++/68912
* include/std/functional (_Bind::operator()): Use lvalue functor to
deduce return type.
* testsuite/20_util/bind/68912.cc: New.

From-SVN: r231652
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/bind/68912.cc [new file with mode: 0644]