Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Span-based constructor overload to PooledStack #16

Closed
jtmueller opened this issue Jan 29, 2019 · 1 comment
Closed

Add a Span-based constructor overload to PooledStack #16

jtmueller opened this issue Jan 29, 2019 · 1 comment

Comments

@jtmueller
Copy link
Owner

jtmueller commented Jan 29, 2019

Is your feature request related to a problem? Please describe.

If foo is PooledList<int>...
new PooledStack<int>(foo.Span)
...does not work without an explicit cast.

Describe the solution you'd like
It would be nice to not have to cast. There may be other pooled collections to which this applies.

@jtmueller
Copy link
Owner Author

Bitten again by F#'s lack of support for implicit casts. This is not needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant