Jonathan Wakely
ea05497d4a
libstdc++: Extend constexpr if to C++14 in _Hashtable::_S_nothrow_move()
...
We can use diagnostic pragmas to allow the constexpr if version of this
function to be used for C++14 as well. We still need the __and_ version
for C++11 because we can't use 'if' in constexpr functions at all before
C++14.
Also use the integral_constant::value static data member instead of
invoking integral_constant::operator(), as it's a tiny bit cheaper to
compiler.
libstdc++-v3/ChangeLog:
* include/bits/hashtable.h (_Hashtable::_S_nothrow_move): Use
diagnostic pragmas to allow constexpr if in C++14. Use value
member instead of operator().
Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com >
2025-10-09 15:26:08 +01:00
..
2025-03-27 13:47:30 +01:00
2025-08-21 11:54:41 +02:00
2025-01-02 11:59:57 +01:00
2025-05-22 14:20:35 +02:00
2025-01-02 11:59:57 +01:00
2025-02-22 21:20:19 +00:00
2025-01-10 21:06:21 +00:00
2025-06-06 09:52:31 +01:00
2025-06-06 09:52:31 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-10-07 12:11:21 +01:00
2025-04-15 09:24:58 +01:00
2025-09-04 15:30:00 +02:00
2025-05-29 11:49:03 +01:00
2025-01-02 11:59:57 +01:00
2025-06-04 14:55:40 -04:00
2025-04-29 10:52:59 +01:00
2025-01-02 11:59:57 +01:00
2025-10-08 15:14:04 +02:00
2025-06-04 20:15:44 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-15 09:24:58 +01:00
2025-07-11 08:34:17 +01:00
2025-06-02 13:52:35 +02:00
2025-09-27 21:18:42 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-06-12 18:29:37 +02:00
2025-04-11 13:56:03 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-06-02 13:52:35 +02:00
2025-01-02 11:59:57 +01:00
2025-07-15 10:25:34 +01:00
2025-09-23 15:17:07 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-02-25 22:27:14 +01:00
2025-10-09 15:26:08 +01:00
2025-01-02 11:59:57 +01:00
2025-10-08 17:06:20 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-09-11 14:38:59 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-08 12:45:37 +00:00
2025-04-29 10:52:59 +01:00
2025-01-02 11:59:57 +01:00
2025-03-19 23:29:06 +00:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-07-11 08:34:13 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-06-02 13:52:35 +02:00
2025-01-02 11:59:57 +01:00
2025-08-26 18:16:04 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-29 10:52:59 +01:00
2025-01-02 11:59:57 +01:00
2024-09-25 08:20:45 -04:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-09-26 11:05:49 +01:00
2025-05-06 17:19:25 +01:00
2025-01-02 11:59:57 +01:00
2025-10-07 12:11:21 +01:00
2025-09-26 11:01:08 +01:00
2025-02-15 10:58:56 +00:00
2025-09-17 14:14:37 -04:00
2025-08-18 14:05:06 +02:00
2025-09-12 21:46:48 +01:00
2025-01-02 11:59:57 +01:00
2025-07-15 10:25:48 +01:00
2025-09-17 14:14:37 -04:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-29 19:54:35 +01:00
2025-04-29 19:54:35 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-29 19:54:35 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-08 12:45:37 +00:00
2025-01-02 11:59:57 +01:00
2022-10-03 15:43:48 +01:00
2025-10-07 12:15:28 +01:00
2025-06-06 20:15:07 +01:00
2025-01-02 11:59:57 +01:00
2025-09-11 14:43:57 +01:00
2025-07-09 12:14:40 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-05-27 12:11:43 +01:00
2025-04-29 10:52:59 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-09-26 11:05:59 +01:00
2025-09-26 11:05:59 +01:00
2025-04-11 13:56:03 +02:00
2025-09-22 15:59:21 +02:00
2025-09-23 16:38:28 +01:00
2025-09-26 11:05:49 +01:00
2025-09-26 11:05:49 +01:00
2025-07-28 17:04:04 +02:00
2025-07-19 00:10:10 +01:00
2025-07-07 21:50:51 +01:00
2025-04-11 13:56:03 +02:00
2025-04-29 15:08:53 +01:00
2025-04-11 13:56:03 +02:00
2025-04-11 13:56:03 +02:00
2025-01-02 11:59:57 +01:00
2025-09-03 12:16:18 +01:00
2025-04-25 13:02:04 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-29 15:08:53 +01:00
2025-04-25 13:02:04 +02:00
2025-06-12 18:41:30 +02:00
2025-04-29 15:08:53 +01:00
2025-10-01 13:54:59 +01:00
2025-08-26 18:18:32 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2024-03-19 15:20:07 +00:00
2025-01-02 11:59:57 +01:00
2025-10-08 18:02:39 +02:00
2025-07-18 10:29:58 +01:00
2025-04-29 10:52:59 +01:00
2025-03-06 16:46:19 +00:00
2025-09-10 23:24:10 +01:00
2025-07-25 14:29:02 +02:00
2025-04-28 10:09:26 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-09-02 13:27:45 +02:00
2025-01-02 11:59:57 +01:00
2025-04-29 10:52:59 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-08-26 18:18:32 +02:00
2025-10-08 12:32:17 +02:00
2025-10-09 15:25:59 +01:00
2025-10-09 15:25:59 +01:00