Sybren A. Stüvel
eaf596c49c
Refactor: BLI: Add MutableSpan::contains() function
...
Add `bool MutableSpan<T>::contains(const T &value)` function, which is an
exact copy of the function from the `Span<T>` class. This makes it possible
to call `.contains()` directly on the `MutableSpan`, instead of having to
call `.as_span()` first.
Note that the `contains_ptr()` function was already copied from `Span` to
`MutableSpan` before.
No functional changes to the affected code, just the removal of the now
no longer necessary `.to_span()` call.
Pull Request: https://projects.blender.org/blender/blender/pulls/131149
2024-11-29 16:28:56 +01:00
..
2024-07-25 11:24:11 +10:00
2024-01-21 13:22:16 +01:00
2024-01-03 13:38:14 +01:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-11-19 11:05:57 +01:00
2024-05-21 18:20:54 +02:00
2023-08-16 00:20:26 +10:00
2024-08-29 12:15:33 +02:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-03-05 14:32:48 +01:00
2024-11-28 12:37:26 +01:00
2023-08-16 00:20:26 +10:00
2024-03-31 22:47:23 +11:00
2023-08-16 00:20:26 +10:00
2024-02-27 23:09:54 -05:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-03-28 22:57:57 +11:00
2024-09-26 21:13:39 +10:00
2024-03-27 10:31:24 +11:00
2024-10-10 03:14:44 +02:00
2024-07-22 16:35:36 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-06-23 12:14:19 +10:00
2024-02-02 19:55:06 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-12-01 11:19:39 +01:00
2024-03-17 09:52:32 +01:00
2024-09-14 21:09:41 +02:00
2024-02-22 12:57:10 +01:00
2024-08-29 12:15:33 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 14:48:53 +03:00
2024-02-28 22:22:21 +01:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-09-26 21:13:39 +10:00
2024-11-19 14:47:58 +01:00
2023-08-16 00:20:26 +10:00
2024-09-17 15:48:06 +02:00
2024-08-29 12:15:33 +02:00
2024-05-03 12:05:56 +02:00
2024-02-11 17:16:17 +11:00
2024-09-22 17:39:54 +02:00
2024-11-25 16:03:33 +01:00
2024-04-15 18:04:19 +02:00
2024-03-03 16:26:04 +01:00
2024-06-06 19:26:40 +02:00
2024-06-28 12:16:56 +02:00
2024-03-28 22:57:57 +11:00
2023-08-16 00:20:26 +10:00
2023-08-17 15:05:52 +02:00
2023-08-16 00:20:26 +10:00
2023-10-20 10:27:26 +02:00
2024-08-19 20:39:32 +02:00
2024-08-16 17:20:19 +02:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-02-15 13:15:56 +11:00
2023-08-16 00:20:26 +10:00
2024-09-12 20:28:35 +02:00
2024-10-30 13:07:33 +11:00
2023-08-29 17:00:33 +02:00
2024-02-14 13:40:31 +11:00
2024-02-17 20:59:45 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-01-22 13:47:13 +01:00
2024-02-14 13:40:31 +11:00
2024-11-29 16:28:56 +01:00
2024-02-14 13:40:31 +11:00
2023-10-06 03:02:17 +02:00
2024-02-20 17:52:14 +01:00
2023-10-06 16:38:45 +02:00
2024-10-25 14:15:31 +11:00
2024-10-25 16:52:00 +11:00
2023-11-02 16:43:04 +11:00
2023-08-16 00:20:26 +10:00
2023-12-01 15:29:36 +01:00
2024-09-26 21:13:39 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-20 15:20:11 +01:00
2024-11-03 12:09:05 +01:00
2024-11-03 12:09:05 +01:00
2024-08-15 13:40:05 +02:00