Skip to content

box_value constructor: Replace param::hstring with hstring#1530

Open
justanotheranonymoususer wants to merge 2 commits intomicrosoft:masterfrom
justanotheranonymoususer:box-
Open

box_value constructor: Replace param::hstring with hstring#1530
justanotheranonymoususer wants to merge 2 commits intomicrosoft:masterfrom
justanotheranonymoususer:box-

Conversation

@justanotheranonymoususer

Partial fix for #1527.

Other places remain unfixed, example:

unbox_value_or(boxed, ReturnsStringView());

Or any other param::hstring usage.

@github-actions

This comment was marked as resolved.

@justanotheranonymoususer

This comment was marked as resolved.

@github-actions

This comment was marked as resolved.

@justanotheranonymoususer

This comment was marked as resolved.

@github-actions

This comment was marked as resolved.

@justanotheranonymoususer

This comment was marked as resolved.

@github-actions

This comment was marked as resolved.

@sylveon
Copy link
Contributor

sylveon commented Mar 20, 2026

@DefaultRyan This PR is a good one - box_value will always do a copy of the hstring so we might as well skip the param::hstring here.

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.

3 participants