Make reference_wrapper trivially copyable.
authorJonathan Wakely <jwakely@redhat.com>
Tue, 4 Nov 2014 02:49:33 +0000 (02:49 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 4 Nov 2014 02:49:33 +0000 (02:49 +0000)
commit565115eaaf58eeb90dbcb2e6fe25db93342d3048
tree7b05f82cfd431ef0b9956d4ec15d48f07910a3ca
parentac6f071ad92bdfc57674d1d7ac2a5c3c831c4603
Make reference_wrapper trivially copyable.

* include/std/functional (reference_wrapper): Define copy constructor
and copy assignment as defaulted.
* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error.
* testsuite/20_util/reference_wrapper/requirements.cc: New.

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