Skip to content

[stdlib] Default initializers for Span-family types #82866

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

glessard
Copy link
Contributor

@glessard glessard commented Jul 8, 2025

Adds no-parameter initializers that return empty, immortal instances of Span/RawSpan/MutableSpan/MutableRawSpan.

These were proposed as part of SE-0485.

Addresses rdar://155275054

@glessard glessard requested a review from a team as a code owner July 8, 2025 01:31
@glessard
Copy link
Contributor Author

glessard commented Jul 8, 2025

@swift-ci please smoke test

@glessard glessard requested a review from atrick July 8, 2025 01:33
@glessard
Copy link
Contributor Author

glessard commented Jul 8, 2025

@swift-ci please smoke test linux platform

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

Successfully merging this pull request may close these issues.

1 participant