diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-10-14 17:12:21 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-10-14 17:12:21 +0100 |
commit | a4744f620f32b6b859a39c6876f5e21b52b1af4b (patch) | |
tree | 1066398a67a405a7006243379c47c61cdac0098d /gnattools | |
parent | 30cd7c740ce5525181b557b51238963260f16637 (diff) | |
download | gcc-a4744f620f32b6b859a39c6876f5e21b52b1af4b.zip gcc-a4744f620f32b6b859a39c6876f5e21b52b1af4b.tar.gz gcc-a4744f620f32b6b859a39c6876f5e21b52b1af4b.tar.bz2 |
Avoid copies in std::scoped_allocator_adaptor piecewise construction
* include/std/scoped_allocator (scoped_allocator_adaptor): Forward
piecewise construction arguments as tuples of references, to avoid
copies (related to LWG 2511).
* testsuite/20_util/scoped_allocator/construct_pair.cc: New test.
From-SVN: r241169
Diffstat (limited to 'gnattools')
0 files changed, 0 insertions, 0 deletions