Files
test2/source/blender/blenlib
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-02-06 14:52:15 +01:00
2024-01-31 14:16:22 +01:00
2024-01-03 13:38:14 +01:00
2024-03-25 23:39:42 +01:00
2024-10-01 09:59:33 +10:00