8000 `Repeated(Ptr)Field`: Add `back()` by copybara-service[bot] · Pull Request #21797 · protocolbuffers/protobuf · GitHub
[go: up one dir, main page]

Skip to content

Repeated(Ptr)Field: Add back() #21797

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Repeated(Ptr)Field: Add back() #21797

wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

Repeated(Ptr)Field: Add back()

Adds a convenience method get the last element of a repeated field
to use instead of the more verbose field[field.size() - 1].

Adds a convenience method get the last element of a repeated field
to use instead of the more verbose `field[field.size() - 1]`.

PiperOrigin-RevId: 561652449
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
0