René's URL Explorer Experiment


Title: Simplify the definition of the consume function by YexuanXiao · Pull Request #1544 · microsoft/cppwinrt · GitHub

Open Graph Title: Simplify the definition of the consume function by YexuanXiao · Pull Request #1544 · microsoft/cppwinrt

X Title: Simplify the definition of the consume function by YexuanXiao · Pull Request #1544 · microsoft/cppwinrt

Description: C++/WinRT. Contribute to microsoft/cppwinrt development by creating an account on GitHub.

Open Graph Description: This PR extracts duplicate code logic into a function to reduce header file size, PCH size, and compilation time. #1442 and #1448 removed the WINRT_IMPL_SHIM macro, causing the generated code to be...

X Description: This PR extracts duplicate code logic into a function to reduce header file size, PCH size, and compilation time. #1442 and #1448 removed the WINRT_IMPL_SHIM macro, causing the generated code to be...

Opengraph URL: https://github.com/microsoft/cppwinrt/pull/1544

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2de5d534-11ef-c56c-b911-59dad16ff96c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7B4:157BA1:F02B85:143D23D:6B005C08
html-safe-nonce6826753a0875db2746217e5c3cbf64dd30da2e4ac23dd03b679933c94e25b0ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0I0OjE1N0JBMTpGMDJCODU6MTQzRDIzRDo2QjAwNUMwOCIsInZpc2l0b3JfaWQiOiI3NDg1MTE0MDI5OTU5MDQ0MTA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac70aef60fd12c876f79c213d21da291cfab880a9a16a09c9b6de5da59d232d96d
hovercard-subject-tagpull_request:3364047094
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/cppwinrt/1544/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/72d81f8172264127c5cdbe821b254d0c3a19e58fd878724feba2233104aac55c/microsoft/cppwinrt/pull/1544
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/72d81f8172264127c5cdbe821b254d0c3a19e58fd878724feba2233104aac55c/microsoft/cppwinrt/pull/1544
og:image:altThis PR extracts duplicate code logic into a function to reduce header file size, PCH size, and compilation time. #1442 and #1448 removed the WINRT_IMPL_SHIM macro, causing the generated code to be...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameYexuanXiao
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-cache
go-importgithub.com/microsoft/cppwinrt git https://github.com/microsoft/cppwinrt.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id68223326
octolytics-dimension-repository_nwomicrosoft/cppwinrt
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id68223326
octolytics-dimension-repository_network_root_nwomicrosoft/cppwinrt
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/cppwinrt/pull/1544#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcppwinrt%2Fpull%2F1544
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcppwinrt%2Fpull%2F1544
Sign uphttps://github.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
Reloadhttps://github.com/microsoft/cppwinrt/pull/1544
Reloadhttps://github.com/microsoft/cppwinrt/pull/1544
Reloadhttps://github.com/microsoft/cppwinrt/pull/1544
microsofthttps://github.com/microsoft
cppwinrthttps://github.com/microsoft/cppwinrt
Codehttps://github.com/microsoft/cppwinrt
Issues16 (16)https://github.com/microsoft/cppwinrt/issues
Pull requests37 (37)https://github.com/microsoft/cppwinrt/pulls
Discussionshttps://github.com/microsoft/cppwinrt/discussions
Actionshttps://github.com/microsoft/cppwinrt/actions
Security and qualityhttps://github.com/microsoft/cppwinrt/security
Insightshttps://github.com/microsoft/cppwinrt/insights
https://github.com/microsoft/cppwinrt
David Machaj (dmachaj)https://github.com/dmachaj
microsoft:masterhttps://github.com/microsoft/cppwinrt/tree/master
YexuanXiao:consume-upstreamhttps://github.com/YexuanXiao/cppwinrtplus/tree/consume-upstream
Conversationhttps://github.com/microsoft/cppwinrt/pull/1544
Commits2 (2)https://github.com/microsoft/cppwinrt/pull/1544/commits
Checkshttps://github.com/microsoft/cppwinrt/pull/1544/checks
Files changedhttps://github.com/microsoft/cppwinrt/pull/1544/files
Simplify the definition of the consume functionhttps://github.com/microsoft/cppwinrt/pull/1544#top
David Machaj (dmachaj)https://github.com/dmachaj
microsoft:masterhttps://github.com/microsoft/cppwinrt/tree/master
YexuanXiao:consume-upstreamhttps://github.com/YexuanXiao/cppwinrtplus/tree/consume-upstream
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 6, 2026https://github.com/microsoft/cppwinrt/pull/1544#issue-4034415439
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
#1442https://github.com/microsoft/cppwinrt/pull/1442
#1448https://github.com/microsoft/cppwinrt/pull/1448
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
Simplify the definition of the consume functionhttps://github.com/microsoft/cppwinrt/pull/1544/commits/2c46998faf51180b96f0d8efbfd8eb96e7022d3c
2c46998https://github.com/microsoft/cppwinrt/pull/1544/commits/2c46998faf51180b96f0d8efbfd8eb96e7022d3c
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 6, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4014474973
Jon Wiswall (@jonwis)https://github.com/jonwis
David Machaj (@dmachaj)https://github.com/dmachaj
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/dmachaj
David Machaj (dmachaj)https://github.com/dmachaj
Mar 6, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4014824731
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 7, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4014869917
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/jonwis
Jon Wiswall (jonwis)https://github.com/jonwis
Mar 7, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4014926421
https://github.com/CommunityToolkit/Lottie-Windowshttps://github.com/CommunityToolkit/Lottie-Windows
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/sylveon
Charles Milette (sylveon)https://github.com/sylveon
Mar 7, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4015044899
https://github.com/TranslucentTB/TranslucentTBhttps://github.com/TranslucentTB/TranslucentTB
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 7, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4015113789
https://private-user-images.githubusercontent.com/20025591/559618300-64d6c755-56a2-4d32-a783-d462f3608fbb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUxODU5NzIsIm5iZiI6MTc5NTE4NTY3MiwicGF0aCI6Ii8yMDAyNTU5MS81NTk2MTgzMDAtNjRkNmM3NTUtNTZhMi00ZDMyLWE3ODMtZDQ2MmYzNjA4ZmJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIwVDE0NDExMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5MmE0MTg1ODk4NjJlMTlhMDJlMDczZjQ5ODhjMzJkNTJlYTE5MThkYzlkM2E1MzhkNWJmMDliZjBlMjE2NTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.dH1hzSAyd7scEjmeR5oUgjszBMaMV_O0riEUv-jFN_4
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 7, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4015177037
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://private-user-images.githubusercontent.com/20025591/559623154-fd208684-57d0-4c78-8c3d-1c0916c13ba1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUxODU5NzIsIm5iZiI6MTc5NTE4NTY3MiwicGF0aCI6Ii8yMDAyNTU5MS81NTk2MjMxNTQtZmQyMDg2ODQtNTdkMC00Yzc4LThjM2QtMWMwOTE2YzEzYmExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIwVDE0NDExMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI3YjBmYTlhOGE1YTI5ODI0M2I0OWI0ZTEzNmJhMjM1MjZkZjU3MTMwYTU1OTFkOTgwNGVjODk3YzBhZjU1N2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.MRwWaIF8eIDfyTc1J6QjhuwQq5OJOdCcOVBlEGs1HTA
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/dmachaj
David Machaj (dmachaj)https://github.com/dmachaj
Mar 9, 2026 https://github.com/microsoft/cppwinrt/pull/1544#pullrequestreview-3916800726
View reviewed changes https://github.com/microsoft/cppwinrt/pull/1544/files/06853114cc73c316c5cd394cc04b8d047bcc6b1a
David Machaj (dmachaj)https://github.com/dmachaj
https://github.com/microsoft/cppwinrt/pull/1544#pullrequestreview-3916800726
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/dmachaj
David Machaj (dmachaj)https://github.com/dmachaj
Mar 9, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4025213563
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
Merge branch 'master' into consume-upstreamhttps://github.com/microsoft/cppwinrt/pull/1544/commits/06853114cc73c316c5cd394cc04b8d047bcc6b1a
0685311https://github.com/microsoft/cppwinrt/pull/1544/commits/06853114cc73c316c5cd394cc04b8d047bcc6b1a
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 9, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4027224734
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 9, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4027290833
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/dmachaj
David Machaj (dmachaj)https://github.com/dmachaj
Mar 9, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4027696338
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/dmachaj
David Machaj (dmachaj)https://github.com/dmachaj
bb0a408https://github.com/microsoft/cppwinrt/commit/bb0a408e7764f6b5ed8ac050459d07896c3f5f91
Mar 9, 2026https://github.com/microsoft/cppwinrt/pull/1544#event-23413968427
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 11, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4036022249
Ryan Shepherd (@DefaultRyan)https://github.com/DefaultRyan
#1512https://github.com/microsoft/cppwinrt/pull/1512
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/DefaultRyan
Ryan Shepherd (DefaultRyan)https://github.com/DefaultRyan
Mar 13, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4057446285
Yexuan Xiao (@YexuanXiao)https://github.com/YexuanXiao
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/sylveon
Charles Milette (sylveon)https://github.com/sylveon
Mar 13, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4057947109
#953https://github.com/microsoft/cppwinrt/pull/953
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
Yexuan Xiao (YexuanXiao)https://github.com/YexuanXiao
Mar 14, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4059154029
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
#953https://github.com/microsoft/cppwinrt/pull/953
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/sylveon
Charles Milette (sylveon)https://github.com/sylveon
Mar 15, 2026https://github.com/microsoft/cppwinrt/pull/1544#issuecomment-4061865937
https://github.com/sylveon/cppwinrt/tree/user/sylveon/moduleshttps://github.com/sylveon/cppwinrt/tree/user/sylveon/modules
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.co/hiddenchars
https://github.com/microsoft/cppwinrt/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcppwinrt%2Fpull%2F1544
https://github.com/dmachaj
David Machaj (dmachaj) https://github.com/dmachaj
https://github.com/microsoft/cppwinrt/pull/1544/files/06853114cc73c316c5cd394cc04b8d047bcc6b1a
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
Please reload this pagehttps://github.com/microsoft/cppwinrt/pull/1544
https://github.com/YexuanXiao
https://github.com/dmachaj
https://github.com/jonwis
https://github.com/sylveon
https://github.com/DefaultRyan
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.