Re: [patch] fix libstdc++/55463 calling mem_fn with rvalues

2012-11-27 Thread Jonathan Wakely
On 26 November 2012 23:51, Jonathan Wakely wrote: > PR libstdc++/55463 > * include/std/functional (_Mem_fn): Handle rvalue objects. Add > noexcept-specifications. > * testsuite/20_util/function_objects/mem_fn/55463.cc: New. > * testsuite/20_util/bind/ref_neg.

[patch] fix libstdc++/55463 calling mem_fn with rvalues

2012-11-26 Thread Jonathan Wakely
PR libstdc++/55463 * include/std/functional (_Mem_fn): Handle rvalue objects. Add noexcept-specifications. * testsuite/20_util/function_objects/mem_fn/55463.cc: New. * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers. Tested x86_64-linux, comm