diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2021-08-09 11:55:43 +0200 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2021-08-09 20:44:58 +0200 |
commit | 1354603bf7d2ef8cd0cb1f76e801732020502987 (patch) | |
tree | a80548b879db60d0cc992295157649c1b3f580f8 /gcc/tree-vectorizer.h | |
parent | d55d3f5b04e81b79f34ccf23f7e2c1e736ad3b0d (diff) | |
download | gcc-1354603bf7d2ef8cd0cb1f76e801732020502987.zip gcc-1354603bf7d2ef8cd0cb1f76e801732020502987.tar.gz gcc-1354603bf7d2ef8cd0cb1f76e801732020502987.tar.bz2 |
libstdc++: [_GLIBCXX_DEBUG] Avoid allocator operator== when always equal
Use std::allocator_traits::is_always_equal to find out if we need to compare
allocator instances on safe container allocator aware move constructor.
libstdc++-v3/ChangeLog:
* include/debug/safe_container.h
(_Safe_container(_Safe_container&&, const _Alloc&, std::true_type)): New.
(_Safe_container(_Safe_container&&, const _Alloc&, std::false_type)): New.
(_Safe_container(_Safe_container&&, const _Alloc&)): Use latters.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions