Jonathan Wakely
aca7a0253d
libstdc++: Use std::addressof in ranges::uninitialized_xxx [PR101571]
...
Make the ranges::uninitialized_xxx algorithms use std::addressof to
protect against iterator types that overload operator&.
Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:
PR libstdc++/101571
* include/bits/ranges_uninitialized.h (_DestroyGuard): Change
constructor parameter to reference and use addressof.
* testsuite/util/testsuite_iterators.h: Define deleted operator&
overloads for test iterators.
2021-07-22 14:37:24 +01:00
..
2021-01-04 10:26:59 +01:00
2021-03-10 15:27:41 +00:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-06-09 10:32:43 +01:00
2021-06-08 15:55:10 -07:00
2021-01-04 10:26:59 +01:00
2021-04-22 17:35:00 +01:00
2021-05-17 12:05:06 -07:00
2021-04-06 16:43:24 +01:00
2021-06-25 18:47:39 +01:00
2021-06-17 22:00:58 +01:00
2021-04-30 14:57:40 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-07-15 16:25:42 +01:00
2021-06-17 22:00:58 +01:00
2021-01-04 10:26:59 +01:00
2021-03-10 15:27:41 +00:00
2021-01-04 10:26:59 +01:00
2021-07-16 15:03:03 +01:00
2021-04-30 14:57:40 +01:00
2021-03-10 15:27:41 +00:00
2021-03-10 15:27:41 +00:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-07-01 18:45:48 +01:00
2021-04-06 16:43:24 +01:00
2021-07-01 18:45:48 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-07-16 15:03:03 +01:00
2021-04-06 16:43:24 +01:00
2021-04-06 16:43:24 +01:00
2021-06-02 13:33:41 +01:00
2021-07-20 16:22:26 +01:00
2021-04-06 16:43:24 +01:00
2021-03-10 15:27:41 +00:00
2021-01-04 10:26:59 +01:00
2021-06-28 13:34:49 +01:00
2021-07-16 15:03:03 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-05-17 17:58:14 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-07-16 15:03:03 +01:00
2021-05-11 16:11:01 +01:00
2021-04-06 16:43:25 +01:00
2021-01-04 10:26:59 +01:00
2021-03-10 15:27:41 +00:00
2021-06-25 18:47:44 +01:00
2021-03-10 15:27:41 +00:00
2021-04-30 20:30:46 +01:00
2021-03-10 15:27:41 +00:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-07-16 15:03:03 +01:00
2021-07-01 00:25:46 +01:00
2021-03-22 15:56:49 +00:00
2021-06-18 19:33:39 -04:00
2021-01-04 10:26:59 +01:00
2021-06-17 22:29:03 -04:00
2021-06-21 09:45:31 -04:00
2021-07-22 14:37:24 +01:00
2021-06-17 22:44:41 -04:00
2021-04-06 16:43:24 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-04-08 21:42:58 +01:00
2021-04-06 16:43:24 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-06-22 11:06:07 -07:00
2021-04-06 16:43:24 +01:00
2021-06-24 14:04:02 +01:00
2021-04-22 15:49:27 +01:00
2021-04-06 16:43:24 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-07-16 15:03:03 +01:00
2021-07-22 13:53:57 +01:00
2021-04-06 16:43:24 +01:00
2021-04-28 12:45:49 +01:00
2021-01-04 10:26:59 +01:00
2021-07-16 15:03:03 +01:00
2021-03-10 15:27:41 +00:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-02-09 21:56:27 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-06-18 20:50:13 -04:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-04-06 16:43:24 +01:00
2021-04-06 16:43:24 +01:00
2021-04-06 16:43:24 +01:00
2021-04-28 17:56:51 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-04-30 14:57:40 +01:00
2021-04-06 16:43:24 +01:00
2021-01-04 10:26:59 +01:00
2021-06-17 22:29:03 -04:00
2021-04-09 13:09:23 +01:00
2021-06-28 15:16:08 +01:00
2021-01-27 13:45:52 +00:00
2021-01-04 10:26:59 +01:00
2021-07-01 00:25:46 +01:00
2021-07-16 15:03:03 +01:00
2021-03-10 15:27:41 +00:00
2021-07-16 08:40:44 +01:00
2021-04-06 16:43:24 +01:00
2021-04-06 16:43:24 +01:00
2021-04-09 13:09:23 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-04-30 14:57:40 +01:00