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

[Packed*Array] Add support for initializer lists. #1399

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Mar 3, 2024

Adds missing support for the initializer lists.

@bruvzg bruvzg added enhancement This is an enhancement on the current functionality usability labels Mar 3, 2024
@bruvzg bruvzg added this to the 4.x milestone Mar 3, 2024
@bruvzg bruvzg requested a review from a team as a code owner March 3, 2024 10:49
Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks good to me - it's basically equivalent to what we have for Vector(std::initializer_list<T> p_init).

@dsnopek dsnopek merged commit e6b6df5 into godotengine:master Mar 12, 2024
12 checks passed
@dsnopek
Copy link
Collaborator

dsnopek commented Apr 8, 2024

Cherry-picked for 4.1 in PR #1411

@dsnopek
Copy link
Collaborator

dsnopek commented Apr 8, 2024

Cherry-picked for 4.2 in PR #1410

@akien-mga akien-mga modified the milestones: 4.x, 4.3 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement on the current functionality usability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants