Jonathan Wakely
0723ad3902
libstdc++: Add always_inline to trivial range access functions
...
This makes all the [iterator.range] functions always-inline, except the
ones that construct a std::reverse_iterator, as they do a little more
work. They could probably be made always_inline too though, and maybe
the std::reverse_iterator constructor too.
This means that even for -O0 these functions have no runtime overhead
compared with calling a member of the container, or performing pointer
arithmetic for arrays.
libstdc++-v3/ChangeLog:
* include/bits/range_access.h: Add always_inline attribute to
trivial functions.
2022-11-19 17:44:14 +00:00
..
2022-10-03 15:43:48 +01:00
2022-01-03 10:42:10 +01:00
2022-11-08 17:35:15 +00:00
2022-01-03 10:42:10 +01:00
2022-11-08 17:35:15 +00:00
2022-09-09 21:11:14 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-11-06 11:30:47 -05:00
2022-01-03 10:42:10 +01:00
2022-11-11 04:00:58 +00:00
2022-11-11 17:57:37 +00:00
2022-11-08 17:35:14 +00:00
2022-02-02 16:30:51 +00:00
2022-01-03 10:42:10 +01:00
2022-10-18 11:37:13 +02:00
2022-07-07 17:38:14 +01:00
2022-11-13 01:10:44 +00:00
2022-06-27 11:08:16 +01:00
2022-01-03 10:42:10 +01:00
2022-10-03 15:43:48 +01:00
2022-08-26 15:29:03 +01:00
2022-10-31 20:15:27 +01:00
2022-01-27 23:31:03 +00:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-06 14:56:48 +00:00
2022-08-04 19:37:56 +01:00
2022-02-04 19:51:26 +00:00
2022-07-01 11:50:18 +01:00
2022-11-11 17:16:42 +00:00
2022-11-11 04:00:58 +00:00
2022-10-04 15:03:28 +01:00
2022-05-26 10:44:45 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-06-15 20:21:52 +02:00
2022-06-15 20:21:52 +02:00
2022-01-03 10:42:10 +01:00
2022-10-05 13:39:28 +01:00
2022-08-04 13:10:24 +01:00
2022-01-25 21:05:16 +00:00
2022-08-04 19:37:56 +01:00
2022-01-03 10:42:10 +01:00
2022-11-11 04:00:58 +00:00
2022-11-11 04:00:58 +00:00
2022-01-03 10:42:10 +01:00
2022-05-12 18:04:01 +01:00
2022-11-11 04:00:58 +00:00
2022-01-03 10:42:10 +01:00
2022-11-11 04:00:58 +00:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-05-19 23:38:23 +01:00
2022-09-16 21:47:19 +01:00
2022-10-21 10:40:40 +01:00
2022-06-27 11:08:16 +01:00
2022-01-21 16:07:34 +00:00
2022-11-08 17:35:15 +00:00
2022-01-21 16:07:34 +00:00
2022-05-13 13:32:22 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-11-19 15:05:28 +00:00
2022-01-03 10:42:10 +01:00
2022-10-04 17:42:59 +01:00
2022-05-06 23:54:09 +01:00
2022-11-19 17:44:14 +00:00
2022-10-03 15:43:48 +01:00
2022-11-03 11:32:43 +00:00
2022-09-21 08:42:00 +01:00
2022-02-22 09:37:58 -05:00
2022-01-03 10:42:10 +01:00
2022-09-15 13:16:51 -04:00
2022-08-31 14:28:03 +01:00
2022-11-06 11:30:47 -05:00
2022-01-03 10:42:10 +01:00
2022-03-01 15:25:39 +00:00
2022-08-22 22:52:24 +01:00
2022-05-13 13:32:22 +01:00
2022-11-06 11:30:47 -05:00
2022-10-28 15:26:35 +01:00
2022-10-28 15:26:35 +01:00
2022-01-03 10:42:10 +01:00
2022-01-05 13:47:00 +00:00
2022-08-04 19:37:56 +01:00
2022-01-05 13:47:01 +00:00
2022-10-03 15:43:48 +01:00
2022-01-03 10:42:10 +01:00
2022-09-15 21:04:36 +01:00
2022-01-25 21:05:16 +00:00
2022-01-21 16:07:34 +00:00
2022-01-03 10:42:10 +01:00
2022-05-06 14:43:39 +01:00
2022-01-03 10:42:10 +01:00
2022-10-18 11:37:13 +02:00
2022-10-07 12:55:33 +01:00
2022-05-13 13:32:23 +01:00
2022-08-22 22:52:24 +01:00
2022-10-03 15:43:48 +01:00
2022-09-16 21:47:19 +01:00
2022-08-23 13:42:37 -04:00
2022-01-14 10:14:25 +00:00
2022-01-05 13:47:02 +00:00
2022-01-21 16:07:34 +00:00
2022-05-26 10:44:45 +01:00
2022-05-26 10:44:45 +01:00
2022-01-14 11:27:50 +00:00
2022-07-29 10:10:00 +01:00
2022-09-16 15:54:41 +01:00
2022-10-15 21:17:48 +01:00
2022-01-14 11:27:50 +00:00
2022-01-03 10:42:10 +01:00
2022-05-13 13:32:22 +01:00
2022-10-15 21:17:48 +01:00
2022-01-03 10:42:10 +01:00
2022-01-14 11:27:50 +00:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-11-08 17:35:15 +00:00
2022-01-21 16:07:34 +00:00
2022-09-16 21:47:19 +01:00
2022-04-14 11:02:37 +01:00
2022-09-16 21:23:24 +01:00
2022-09-16 21:23:24 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-03-10 21:04:01 +00:00
2022-01-03 10:42:10 +01:00
2022-05-13 13:32:23 +01:00
2022-09-29 09:18:40 -04:00
2022-05-26 10:44:45 +01:00
2022-05-26 10:44:45 +01:00
2022-10-15 21:17:48 +01:00
2022-01-03 10:42:10 +01:00
2022-07-12 09:13:45 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00