-
-
Notifications
You must be signed in to change notification settings - Fork 220
FriendlyFlags.Array should generate Span<T> overloads #444
Comments
This actually isn't well thought out.
So in summary, I think this is a bad idea. |
Reconsidering this, because we already generate friendly array overloads for pointers, which have length just like span. So really the concerns I mentioned above seem moot given the array precedent we have. |
Doing this right may also implicitly take care of (part of) #286 since |
|
I'm also playing with an idea to make the friendly overload omit the 'length' parameter (or change from |
Given a method with such a parameter:
We should produce an overload with parameter type
Span<char>
.Also if the direction is only
In
:We should produce an overload with parameter type
ReadOnlySpan<char>
.The text was updated successfully, but these errors were encountered: