re PR c++/55908 (Problem binding a const member function to a const object)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Tue, 8 Jan 2013 21:01:14 +0000 (21:01 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 8 Jan 2013 21:01:14 +0000 (21:01 +0000)
commit890e1665077025e087ed403c689778d44dea34c8
tree33cae8c916152de48d116ff24d515a45580a560e
parent36b729105699ba208e17f22fd04f69c9d9cff72d
re PR c++/55908 (Problem binding a const member function to a const object)

PR libstdc++/55908
* include/std/functional (_Mem_fn::operator()): Fix constraints to
avoid ambiguity.
* testsuite/20_util/function_objects/mem_fn/55908.cc: New.
* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.

From-SVN: r195035
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/bind/ref_neg.cc
libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55908.cc [new file with mode: 0644]