box_value constructor: Replace param::hstring with hstring#1530
box_value constructor: Replace param::hstring with hstring#1530justanotheranonymoususer wants to merge 6 commits intomicrosoft:masterfrom
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@DefaultRyan This PR is a good one - box_value will always do a copy of the hstring so we might as well skip the |
|
This breaks boxing of string-like types such as I think we can still do this with a little more finesse. One idea of the top of my head is to have an exact |
|
I tried to fix, can you run tests? |
Did you know you can run the tests locally? That break would have been caught there and saved you some time. :) |
|
I was filling lucky. Should pass now, and I even added tests. |
Partial fix for #1527.
Other places remain unfixed, example:
unbox_value_or(boxed, ReturnsStringView());Or any other
param::hstringusage.