Jonne Ransijn
d7596a0a61
AK: Don't implicitly convert Optional<T&> to Optional<T>
...
C++ will jovially select the implicit conversion operator, even if it's
complete bogus, such as for unknown-size types or non-destructible
types. Therefore, all such conversions (which incur a copy) must
(unfortunately) be explicit so that non-copyable types continue to work.
NOTE: We make an exception for trivially copyable types, since they
are, well, trivially copyable.
Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org >
2024-12-04 01:58:22 +01:00
..
2024-10-08 19:02:51 +02:00
2024-11-15 10:51:45 -07:00
2024-01-12 16:42:51 -07:00
2024-01-12 16:42:51 -07:00
2024-08-17 17:44:37 -06:00
2024-10-04 13:19:50 +02:00
2024-09-03 17:43:03 +02:00
2024-01-12 16:42:51 -07:00
2024-10-04 13:19:50 +02:00
2024-10-04 13:19:50 +02:00
2024-01-12 16:42:51 -07:00
2024-01-12 16:42:51 -07:00
2023-12-27 19:30:39 +01:00
2024-10-04 13:19:50 +02:00
2024-01-13 19:01:35 -07:00
2024-04-24 16:50:01 -04:00
2024-10-04 13:19:50 +02:00
2023-12-17 18:25:10 +03:30
2024-07-18 09:43:38 +01:00
2024-03-23 09:02:58 -04:00
2024-10-04 13:19:50 +02:00
2024-07-18 09:43:38 +01:00
2024-11-06 09:22:44 +00:00
2023-12-17 18:25:10 +03:30
2024-01-12 17:03:53 -07:00
2023-10-01 11:06:36 +03:30
2024-10-04 13:19:50 +02:00
2024-11-01 12:14:53 +01:00
2024-02-11 18:53:00 +01:00
2024-06-24 12:41:32 -06:00
2024-04-24 16:50:01 -04:00
2024-10-14 20:47:35 +02:00
2024-11-09 12:42:27 -07:00
2023-12-17 18:25:10 +03:30
2024-04-21 11:46:55 +02:00
2024-06-05 17:19:14 -06:00
2024-10-04 13:19:50 +02:00
2024-10-04 13:19:50 +02:00
2024-12-04 01:58:22 +01:00
2024-02-06 00:08:30 +01:00
2024-10-04 13:19:50 +02:00
2024-10-04 13:19:50 +02:00
2023-12-30 23:02:46 +01:00
2024-11-01 12:14:53 +01:00
2024-08-17 17:44:37 -06:00
2023-12-17 18:25:10 +03:30
2024-04-27 07:09:08 +02:00
2024-11-03 20:42:46 -05:00
2024-08-13 14:11:05 +02:00
2024-01-04 11:28:03 -05:00
2024-11-15 23:18:29 +01:00
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2024-03-25 14:26:29 -06:00
2024-11-15 23:18:29 +01:00
2024-07-31 05:55:34 -04:00
2024-04-24 16:50:01 -04:00
2024-10-04 13:19:50 +02:00
2024-10-04 13:19:50 +02:00