René's URL Explorer Experiment


Title: feat: adopt C++20 defaulted comparisons and spaceship operator by dave-365 · Pull Request #1761 · nodejs/node-addon-api · GitHub

Open Graph Title: feat: adopt C++20 defaulted comparisons and spaceship operator by dave-365 · Pull Request #1761 · nodejs/node-addon-api

X Title: feat: adopt C++20 defaulted comparisons and spaceship operator by dave-365 · Pull Request #1761 · nodejs/node-addon-api

Description: Module for using Node-API from C++. Contribute to nodejs/node-addon-api development by creating an account on GitHub.

Open Graph Description: Fixes #1748 Summary of Changes: Leverage C++20 defaulted comparisons (operator== and <=>) when compiling under C++20 or later. Remove redundant hand-written operator!= implementations in C++...

X Description: Fixes #1748 Summary of Changes: Leverage C++20 defaulted comparisons (operator== and &lt;=&gt;) when compiling under C++20 or later. Remove redundant hand-written operator!= implementation...

Opengraph URL: https://github.com/nodejs/node-addon-api/pull/1761

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

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:051f93bd-2ad5-68f0-20ca-2f64fa37b7bf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE4B4:5CA6C:8B6A6E:BAC602:6B0637EE
html-safe-nonce4ca562d239d9b45800bac6377680e63af363f026cab1b8b7ed1483f8fa4c85d1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEI0OjVDQTZDOjhCNkE2RTpCQUM2MDI6NkIwNjM3RUUiLCJ2aXNpdG9yX2lkIjoiNDkxNDM5MzUzNzEyODU3NzAwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf9ed71448d2b7817ee9e0d1b0ad1e3d3c32513836068b72c4f653bcf479c67ad
hovercard-subject-tagpull_request:5154452929
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/nodejs/node-addon-api/1761/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/aa8950a6db9cac8976b3cd42eae03db25527af6364c7ea55a780c35276ed55a7/nodejs/node-addon-api/pull/1761
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa8950a6db9cac8976b3cd42eae03db25527af6364c7ea55a780c35276ed55a7/nodejs/node-addon-api/pull/1761
og:image:altFixes #1748 Summary of Changes: Leverage C++20 defaulted comparisons (operator== and <=>) when compiling under C++20 or later. Remove redundant hand-written operator!= implementations in C++...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedave-365
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node-addon-api git https://github.com/nodejs/node-addon-api.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id81384578
octolytics-dimension-repository_nwonodejs/node-addon-api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81384578
octolytics-dimension-repository_network_root_nwonodejs/node-addon-api
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
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/nodejs/node-addon-api/pull/1761#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode-addon-api%2Fpull%2F1761
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%2Fnodejs%2Fnode-addon-api%2Fpull%2F1761
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=nodejs%2Fnode-addon-api
Reloadhttps://github.com/nodejs/node-addon-api/pull/1761
Reloadhttps://github.com/nodejs/node-addon-api/pull/1761
Reloadhttps://github.com/nodejs/node-addon-api/pull/1761
nodejshttps://github.com/nodejs
node-addon-apihttps://github.com/nodejs/node-addon-api
Codehttps://github.com/nodejs/node-addon-api
Issues12 (12)https://github.com/nodejs/node-addon-api/issues
Pull requests8 (8)https://github.com/nodejs/node-addon-api/pulls
Actionshttps://github.com/nodejs/node-addon-api/actions
Projectshttps://github.com/nodejs/node-addon-api/projects
Wikihttps://github.com/nodejs/node-addon-api/wiki
Security and qualityhttps://github.com/nodejs/node-addon-api/security
Insightshttps://github.com/nodejs/node-addon-api/insights
https://github.com/nodejs/node-addon-api
dave-365https://github.com/dave-365
nodejs:mainhttps://github.com/nodejs/node-addon-api/tree/main
dave-365:feat/cpp20-comparisonshttps://github.com/dave-365/node-addon-api/tree/feat/cpp20-comparisons
Conversationhttps://github.com/nodejs/node-addon-api/pull/1761
Commits7 (7)https://github.com/nodejs/node-addon-api/pull/1761/commits
Checkshttps://github.com/nodejs/node-addon-api/pull/1761/checks
Files changedhttps://github.com/nodejs/node-addon-api/pull/1761/files
feat: adopt C++20 defaulted comparisons and spaceship operatorhttps://github.com/nodejs/node-addon-api/pull/1761#top
dave-365https://github.com/dave-365
nodejs:mainhttps://github.com/nodejs/node-addon-api/tree/main
dave-365:feat/cpp20-comparisonshttps://github.com/dave-365/node-addon-api/tree/feat/cpp20-comparisons
https://github.com/dave-365
dave-365https://github.com/dave-365
Nov 4, 2026https://github.com/nodejs/node-addon-api/pull/1761#issue-6202960700
#1748https://github.com/nodejs/node-addon-api/issues/1748
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
https://github.com/dave-365
feat: adopt C++20 defaulted comparisons and spaceship operatorhttps://github.com/nodejs/node-addon-api/pull/1761/commits/0cce7823b142ddefa50346645389a7e37377c94c
0cce782https://github.com/nodejs/node-addon-api/pull/1761/commits/0cce7823b142ddefa50346645389a7e37377c94c
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Node-API Team Projecthttps://github.com/orgs/nodejs/projects/11
Nov 4, 2026https://github.com/nodejs/node-addon-api/pull/1761#event-35128302136
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Node-API Team Projecthttps://github.com/orgs/nodejs/projects/11
Nov 4, 2026https://github.com/nodejs/node-addon-api/pull/1761#event-35128305513
https://github.com/codecov-commenter
codecov-commenterhttps://github.com/codecov-commenter
Nov 6, 2026https://github.com/nodejs/node-addon-api/pull/1761#issuecomment-6689689580
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
Codecovhttps://app.codecov.io/gh/nodejs/node-addon-api/pull/1761?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
25c6b21https://app.codecov.io/gh/nodejs/node-addon-api/commit/25c6b211f0395b38a3a1230f15e9c523dca50fdb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
c99c99fhttps://app.codecov.io/gh/nodejs/node-addon-api/commit/c99c99f18b81b7f46b672cff516191c0a82beac5?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Files with missing lineshttps://app.codecov.io/gh/nodejs/node-addon-api/pull/1761?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
napi.hhttps://app.codecov.io/gh/nodejs/node-addon-api/pull/1761?src=pr&el=tree&filepath=napi.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bmFwaS5o
0 Missing and 2 partials ⚠️ https://app.codecov.io/gh/nodejs/node-addon-api/pull/1761?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/nodejs/node-addon-api/pull/1761?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
fix(comparisons): isolate binding_cpp20 target and test runnerhttps://github.com/nodejs/node-addon-api/pull/1761/commits/ce7bd4f2a83ab21185a92b48e966d45e4d2e5e3f
ce7bd4fhttps://github.com/nodejs/node-addon-api/pull/1761/commits/ce7bd4f2a83ab21185a92b48e966d45e4d2e5e3f
https://github.com/dave-365
dave-365https://github.com/dave-365
Nov 7, 2026https://github.com/nodejs/node-addon-api/pull/1761#issuecomment-6705206853
@KevinEadyhttps://github.com/KevinEady
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
https://github.com/dave-365
dave-365https://github.com/dave-365
Nov 9, 2026https://github.com/nodejs/node-addon-api/pull/1761#issuecomment-6736523503
@KevinEadyhttps://github.com/KevinEady
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
https://github.com/dave-365
dave-365https://github.com/dave-365
Nov 12, 2026https://github.com/nodejs/node-addon-api/pull/1761#issuecomment-6828459436
@KevinEadyhttps://github.com/KevinEady
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
https://github.com/legendecas
legendecashttps://github.com/legendecas
Nov 13, 2026 https://github.com/nodejs/node-addon-api/pull/1761#pullrequestreview-5893920941
View reviewed changes https://github.com/nodejs/node-addon-api/pull/1761/files/ce7bd4f2a83ab21185a92b48e966d45e4d2e5e3f
napi.hhttps://github.com/nodejs/node-addon-api/pull/1761/files/ce7bd4f2a83ab21185a92b48e966d45e4d2e5e3f#diff-6294f8ee1d8cd7e4e94cfc22a083380fb80058e34f53100d895b9b3b295dd801
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
https://github.com/dave-365
https://github.com/legendecas
Update napi.hhttps://github.com/nodejs/node-addon-api/pull/1761/commits/530ee99d7ec13e44892a5cdaa19a309293500010
530ee99https://github.com/nodejs/node-addon-api/pull/1761/commits/530ee99d7ec13e44892a5cdaa19a309293500010
https://en.cppreference.com/cpp/header/versionhttps://en.cppreference.com/cpp/header/version
https://github.com/dave-365
dave-365https://github.com/dave-365
legendecashttps://github.com/legendecas
November 14, 2026 11:22https://github.com/nodejs/node-addon-api/pull/1761#event-36119838659
https://github.com/legendecas
legendecashttps://github.com/legendecas
Nov 20, 2026 https://github.com/nodejs/node-addon-api/pull/1761#pullrequestreview-5994733954
View reviewed changes https://github.com/nodejs/node-addon-api/pull/1761/files/530ee99d7ec13e44892a5cdaa19a309293500010
napi.hhttps://github.com/nodejs/node-addon-api/pull/1761/files/530ee99d7ec13e44892a5cdaa19a309293500010#diff-6294f8ee1d8cd7e4e94cfc22a083380fb80058e34f53100d895b9b3b295dd801
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
https://github.com/legendecas
legendecashttps://github.com/legendecas
Nov 20, 2026 https://github.com/nodejs/node-addon-api/pull/1761#pullrequestreview-5994784557
View reviewed changes https://github.com/nodejs/node-addon-api/pull/1761/files/530ee99d7ec13e44892a5cdaa19a309293500010
napi.hhttps://github.com/nodejs/node-addon-api/pull/1761/files/530ee99d7ec13e44892a5cdaa19a309293500010#diff-6294f8ee1d8cd7e4e94cfc22a083380fb80058e34f53100d895b9b3b295dd801
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
dave-365https://github.com/dave-365
November 20, 2026 22:22https://github.com/nodejs/node-addon-api/pull/1761#commits-pushed-c99c99f
https://github.com/dave-365
https://github.com/legendecas
Update napi.hhttps://github.com/nodejs/node-addon-api/pull/1761/commits/c99c99f18b81b7f46b672cff516191c0a82beac5
c99c99fhttps://github.com/nodejs/node-addon-api/pull/1761/commits/c99c99f18b81b7f46b672cff516191c0a82beac5
fix(basic-env): remove operator<=> and retain defaulted operator==https://github.com/nodejs/node-addon-api/pull/1761/commits/bae2334895e4f042d0bb8427f7aa0984ba72f94b
bae2334https://github.com/nodejs/node-addon-api/pull/1761/commits/bae2334895e4f042d0bb8427f7aa0984ba72f94b
Merge branch 'feat/cpp20-comparisons' ofhttps://github.com/nodejs/node-addon-api/pull/1761/commits/b4253b04ed4d3691ac4ab97b91965a2945e1ba33
https://github.com/dave-365/…https://github.com/dave-365/node-addon-api
b4253b0https://github.com/nodejs/node-addon-api/pull/1761/commits/b4253b04ed4d3691ac4ab97b91965a2945e1ba33
…node-addon-apihttps://github.com/dave-365/node-addon-api
style: format cpp20 feature macro check to comply with clang-formathttps://github.com/nodejs/node-addon-api/pull/1761/commits/f50446029125c50ff881e0c0aecb461b0a9d3f68
f504460https://github.com/nodejs/node-addon-api/pull/1761/commits/f50446029125c50ff881e0c0aecb461b0a9d3f68
https://github.com/dave-365
dave-365https://github.com/dave-365
Nov 22, 2026https://github.com/nodejs/node-addon-api/pull/1761#issuecomment-7076105239
@legendecashttps://github.com/legendecas
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
https://github.co/hiddenchars
https://github.com/nodejs/node-addon-api/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%2Fnodejs%2Fnode-addon-api%2Fpull%2F1761
https://github.com/legendecas
legendecas https://github.com/legendecas
https://github.com/nodejs/node-addon-api/pull/1761/files/530ee99d7ec13e44892a5cdaa19a309293500010
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
Node-API Team Project https://github.com/orgs/nodejs/projects/11
Adopt C++20 defaulted comparisons (operator== / <=>) https://github.com/nodejs/node-addon-api/issues/1748
Please reload this pagehttps://github.com/nodejs/node-addon-api/pull/1761
https://github.com/dave-365
https://github.com/codecov-commenter
https://github.com/legendecas
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.