This makes sure that no extra allocations happen on windows, fixing
earlier errors in the DisableAllocationGuard (in the second case that
is modified).
This is split out from D98398.
Differential D98406
[libcxx] [test] Use a string_view of the native path type in the concat test mstorsjo on Mar 11 2021, 3:13 AM. Authored by
Details
This makes sure that no extra allocations happen on windows, fixing This is split out from D98398.
Diff Detail
Event TimelineComment Actions LGTM, although this pre-existing "manually type-cast to a pointer type to trigger the appropriate operator X*()" technique is hecka confusing. I would be tempted to give class MultiStringView some additional member function templates for sanity's sake: TC.rhs.as_string_view<path::value_type>() and perhaps TC.rhs.as_cstr<path::value_type>(). |