Skip to content

Use idiomatic templating vargs in a few places to reduce code. #103899

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

Ivorforce
Copy link
Member

@Ivorforce Ivorforce commented Mar 10, 2025

Just a small code style thing.
There are some more of these (build_array in test cases), but they could be better addressed once Array has a varargs constructor.

There is also stringify_variants, but that intersperses spaces so I didn't have an immediate idea for how to concatenate.

@Ivorforce Ivorforce requested review from a team as code owners March 10, 2025 10:57
@AThousandShips AThousandShips added this to the 4.x milestone Mar 10, 2025
@Ivorforce Ivorforce force-pushed the idiomatic-template-vargs branch from 3d5af60 to 3656587 Compare March 10, 2025 10:59
@Ivorforce Ivorforce force-pushed the idiomatic-template-vargs branch from 3656587 to df7dab4 Compare June 8, 2025 10:24
@Ivorforce
Copy link
Member Author

I just realized I did make a PR for this 😅
This was now partially superseded by #106445 and #106754, but still covers more ground.

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

Code looks good to me.

@akien-mga akien-mga modified the milestones: 4.x, 4.5 Jun 10, 2025
@akien-mga akien-mga merged commit 40b251b into godotengine:master Jun 10, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@Ivorforce Ivorforce deleted the idiomatic-template-vargs branch June 10, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants