| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c1648e6e-15aa-1005-73eb-c7569447bad1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9332:3D45D4:D8025D:1145CB4:697542EF |
| html-safe-nonce | 5415fb030c4087126ee7616344e0d73e0566c7527ccdbe09c6c67afd5dc821ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzMyOjNENDVENDpEODAyNUQ6MTE0NUNCNDo2OTc1NDJFRiIsInZpc2l0b3JfaWQiOiIyOTE1OTEyNTMwOTE3NjcxNjYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 05e8d346396d3194204adb0ac18ff7e940ee8fe5fb248ab24a5d0fe192cb18e3 |
| hovercard-subject-tag | pull_request:3152418989 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/cppwinrt/1529/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b07c714cff92962de5b0ae17c590916e8d7761672ad5c4cb22b99bae843abeee/microsoft/cppwinrt/pull/1529 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b07c714cff92962de5b0ae17c590916e8d7761672ad5c4cb22b99bae843abeee/microsoft/cppwinrt/pull/1529 |
| og:image:alt | Fixes #1527
In C++, string_view has no notion of a null terminator, which is assumed by create_string_reference. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | justanotheranonymoususer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/cppwinrt git https://github.com/microsoft/cppwinrt.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 68223326 |
| octolytics-dimension-repository_nwo | microsoft/cppwinrt |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68223326 |
| octolytics-dimension-repository_network_root_nwo | microsoft/cppwinrt |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcppwinrt%2Fpull%2F1529 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcppwinrt%2Fpull%2F1529 |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2Fcppwinrt |
| Reload | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| Reload | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| Reload | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
|
microsoft
| https://patch-diff.githubusercontent.com/microsoft |
| cppwinrt | https://patch-diff.githubusercontent.com/microsoft/cppwinrt |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fmicrosoft%2Fcppwinrt |
|
Fork
266
| https://patch-diff.githubusercontent.com/login?return_to=%2Fmicrosoft%2Fcppwinrt |
|
Star
1.8k
| https://patch-diff.githubusercontent.com/login?return_to=%2Fmicrosoft%2Fcppwinrt |
|
Code
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt |
|
Issues
3
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/issues |
|
Pull requests
2
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/actions |
|
Models
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/models |
|
Security
0
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/security |
|
Insights
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pulse |
|
Code
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt |
|
Issues
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/actions |
|
Models
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/models |
|
Security
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/security |
|
Insights
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fmicrosoft%2Fcppwinrt%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fmicrosoft%2Fcppwinrt%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#issue-comment-box |
| justanotheranonymoususer | https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| microsoft:master | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/tree/master |
| justanotheranonymoususer:fix-1527 | https://patch-diff.githubusercontent.com/justanotheranonymoususer/cppwinrt/tree/fix-1527 |
|
Remove implicit hstring constructor for string_view
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#top |
| justanotheranonymoususer | https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| microsoft:master | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/tree/master |
| justanotheranonymoususer:fix-1527 | https://patch-diff.githubusercontent.com/justanotheranonymoususer/cppwinrt/tree/fix-1527 |
|
Conversation
7
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
|
Commits
3
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/commits |
|
Checks
1
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/files |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| justanotheranonymoususer | https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| Jan 7, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#issue-3788581809 |
| #1527 | https://github.com/microsoft/cppwinrt/issues/1527 |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
|
| https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| Remove implicit hstring constructor for string_view | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/commits/7d7b8273bf41693af273e5dc253f6fa75c52e10f |
| 7d7b827 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/commits/7d7b8273bf41693af273e5dc253f6fa75c52e10f |
| microsoft#1527 | https://github.com/microsoft/cppwinrt/issues/1527 |
| https://patch-diff.githubusercontent.com/sylveon |
| sylveon | https://patch-diff.githubusercontent.com/sylveon |
| Jan 8, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#issuecomment-3722237459 |
| @DefaultRyan | https://github.com/DefaultRyan |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| justanotheranonymoususer | https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| Jan 8, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#issuecomment-3722998781 |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| justanotheranonymoususer | https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| January 8, 2026 11:57 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#commits-pushed-8dc471a |
|
| https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| Delete ptr+size constructor | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/commits/8dc471a6a469202a888694fcaa113fabbeb69484 |
| 8dc471a | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/commits/8dc471a6a469202a888694fcaa113fabbeb69484 |
|
| https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| Try to fix | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/commits/af9103d8ba65c4b4c8b6d9a9330e2c8eb54201a2 |
| af9103d | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/commits/af9103d8ba65c4b4c8b6d9a9330e2c8eb54201a2 |
| https://patch-diff.githubusercontent.com/DefaultRyan |
| DefaultRyan | https://patch-diff.githubusercontent.com/DefaultRyan |
|
Jan 8, 2026
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#pullrequestreview-3640904388 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/files/af9103d8ba65c4b4c8b6d9a9330e2c8eb54201a2 |
| strings/base_string_input.h | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/files/af9103d8ba65c4b4c8b6d9a9330e2c8eb54201a2#diff-3ec523b81218ac44bb717f8c3fa57d614e7085560791a8529959db05bfb8b54e |
| DefaultRyan | https://patch-diff.githubusercontent.com/DefaultRyan |
| Jan 8, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#discussion_r2673589913 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #1123 | https://github.com/microsoft/cppwinrt/issues/1123 |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| justanotheranonymoususer | https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| Jan 8, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#issuecomment-3725333149 |
| https://en.cppreference.com/w/cpp/language/attributes/deprecated | https://en.cppreference.com/w/cpp/language/attributes/deprecated |
| … | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| #1529 (comment) | https://github.com/microsoft/cppwinrt/pull/1529#discussion_r2673589913 |
| #1123 | https://github.com/microsoft/cppwinrt/issues/1123 |
| #1123 | https://github.com/microsoft/cppwinrt/issues/1123 |
| #1529 (review) | https://github.com/microsoft/cppwinrt/pull/1529#pullrequestreview-3640904388 |
| https://github.com/notifications/unsubscribe-auth/ABMDRPEW3NHONMQM5QMSZM34F2U45AVCNFSM6AAAAACQ6EBF3SVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTMNBQHEYDIMZYHA | https://github.com/notifications/unsubscribe-auth/ABMDRPEW3NHONMQM5QMSZM34F2U45AVCNFSM6AAAAACQ6EBF3SVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTMNBQHEYDIMZYHA |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| https://patch-diff.githubusercontent.com/YexuanXiao |
| YexuanXiao | https://patch-diff.githubusercontent.com/YexuanXiao |
| Jan 9, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#issuecomment-3728488315 |
| #1244 | https://github.com/microsoft/cppwinrt/issues/1244 |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| https://patch-diff.githubusercontent.com/YexuanXiao |
| YexuanXiao | https://patch-diff.githubusercontent.com/YexuanXiao |
|
Jan 9, 2026
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#ref-issue-3796610174 |
|
Could C++/WinRT consider adding a basic_cstring_view?
#1531
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/issues/1531 |
| https://patch-diff.githubusercontent.com/apps/github-actions |
| github-actions | https://patch-diff.githubusercontent.com/apps/github-actions |
| Jan 20, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#issuecomment-3770547557 |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| https://patch-diff.githubusercontent.com/apps/github-actions |
| github-actions | https://patch-diff.githubusercontent.com/apps/github-actions |
|
no-pr-activity
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/issues?q=state%3Aopen%20label%3Ano-pr-activity |
| Jan 20, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#event-22149132378 |
| https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| justanotheranonymoususer | https://patch-diff.githubusercontent.com/justanotheranonymoususer |
| Jan 20, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#issuecomment-3771275184 |
| … | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| microsoft/cppwinrt#1529 | https://github.com/microsoft/cppwinrt/pull/1529 |
| #1529 (comment) | https://github.com/microsoft/cppwinrt/pull/1529#issuecomment-3770547557 |
| #1529 (comment) | https://github.com/microsoft/cppwinrt/pull/1529#issuecomment-3770547557 |
| https://github.com/notifications/unsubscribe-auth/ABMDRPHSCZ22K6DFMWXCZAL4HVZ5TAVCNFSM6AAAAACQ6EBF3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTONZQGU2DONJVG4 | https://github.com/notifications/unsubscribe-auth/ABMDRPHSCZ22K6DFMWXCZAL4HVZ5TAVCNFSM6AAAAACQ6EBF3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTONZQGU2DONJVG4 |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
| https://patch-diff.githubusercontent.com/apps/github-actions |
| github-actions | https://patch-diff.githubusercontent.com/apps/github-actions |
|
no-pr-activity
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/issues?q=state%3Aopen%20label%3Ano-pr-activity |
| Jan 21, 2026 | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529#event-22175562856 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcppwinrt%2Fpull%2F1529 |
|
| https://patch-diff.githubusercontent.com/DefaultRyan |
|
DefaultRyan
| https://patch-diff.githubusercontent.com/DefaultRyan |
|
| https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529/files/af9103d8ba65c4b4c8b6d9a9330e2c8eb54201a2 |
|
Bug: winrt::box_value(std::wstring_view(...)) may cause abort
| https://github.com/microsoft/cppwinrt/issues/1527 |
| Please reload this page | https://patch-diff.githubusercontent.com/microsoft/cppwinrt/pull/1529 |
|
| https://patch-diff.githubusercontent.com/justanotheranonymoususer |
|
| https://patch-diff.githubusercontent.com/sylveon |
|
| https://patch-diff.githubusercontent.com/YexuanXiao |
|
| https://patch-diff.githubusercontent.com/DefaultRyan |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |