René's URL Explorer Experiment


Title: Translate destructors in unsafe by lucic71 · Pull Request #330 · Cpp2Rust/cpp2rust · GitHub

Open Graph Title: Translate destructors in unsafe by lucic71 · Pull Request #330 · Cpp2Rust/cpp2rust

X Title: Translate destructors in unsafe by lucic71 · Pull Request #330 · Cpp2Rust/cpp2rust

Description: Fixes #310 Furthermore, droppable types don't implement copy.

Open Graph Description: Fixes #310 Furthermore, droppable types don't implement copy.

X Description: Fixes #310 Furthermore, droppable types don't implement copy.

Opengraph URL: https://github.com/Cpp2Rust/cpp2rust/pull/330

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:141bb957-2ed3-cb25-a305-b8c8870e7b22
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF30:1FAE:1ACCFA7:237DBCC:6B025171
html-safe-noncec669aa0c881054cd53c5c1339d754a1bedf79a34031d13a0b242859e856e4592
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjMwOjFGQUU6MUFDQ0ZBNzoyMzdEQkNDOjZCMDI1MTcxIiwidmlzaXRvcl9pZCI6IjEyODEzNDU2Mjg0NjI1MzUwMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf6881e95569bd81374edddca0828e9b93ab44aeec8fd2fd6932f2d3a547d497e
hovercard-subject-tagpull_request:4453156621
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Cpp2Rust/cpp2rust/pull/330/files
twitter:imagehttps://avatars.githubusercontent.com/u/44677774?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/44677774?s=400&v=4
og:image:altFixes #310 Furthermore, droppable types don't implement copy.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Cpp2Rust/cpp2rust git https://github.com/Cpp2Rust/cpp2rust.git
octolytics-dimension-user_id197474191
octolytics-dimension-user_loginCpp2Rust
octolytics-dimension-repository_id1183095779
octolytics-dimension-repository_nwoCpp2Rust/cpp2rust
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1183095779
octolytics-dimension-repository_network_root_nwoCpp2Rust/cpp2rust
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Cpp2Rust/cpp2rust/pull/330/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCpp2Rust%2Fcpp2rust%2Fpull%2F330%2Ffiles
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%2FCpp2Rust%2Fcpp2rust%2Fpull%2F330%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=Cpp2Rust%2Fcpp2rust
Reloadhttps://github.com/Cpp2Rust/cpp2rust/pull/330/files
Reloadhttps://github.com/Cpp2Rust/cpp2rust/pull/330/files
Reloadhttps://github.com/Cpp2Rust/cpp2rust/pull/330/files
Cpp2Rusthttps://github.com/Cpp2Rust
cpp2rusthttps://github.com/Cpp2Rust/cpp2rust
Codehttps://github.com/Cpp2Rust/cpp2rust
Issues21 (21)https://github.com/Cpp2Rust/cpp2rust/issues
Pull requestshttps://github.com/Cpp2Rust/cpp2rust/pulls
Actionshttps://github.com/Cpp2Rust/cpp2rust/actions
Security and qualityhttps://github.com/Cpp2Rust/cpp2rust/security
Insightshttps://github.com/Cpp2Rust/cpp2rust/insights
Sign up for GitHub https://github.com/signup?return_to=%2FCpp2Rust%2Fcpp2rust%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FCpp2Rust%2Fcpp2rust%2Fissues%2Fnew%2Fchoose
nunoplopeshttps://github.com/nunoplopes
Cpp2Rust:masterhttps://github.com/Cpp2Rust/cpp2rust/tree/master
lucic71:unsafe-dtorhttps://github.com/lucic71/cpp2rust/tree/unsafe-dtor
Conversation 0 https://github.com/Cpp2Rust/cpp2rust/pull/330
Commits 6 https://github.com/Cpp2Rust/cpp2rust/pull/330/commits
Checks 9 https://github.com/Cpp2Rust/cpp2rust/pull/330/checks
Files changed https://github.com/Cpp2Rust/cpp2rust/pull/330/files
Please reload this pagehttps://github.com/Cpp2Rust/cpp2rust/pull/330/files
Translate destructors in unsafe https://github.com/Cpp2Rust/cpp2rust/pull/330/files#top
Show all changes 6 commits https://github.com/Cpp2Rust/cpp2rust/pull/330/files
31763ec Add drop trait in unsafe lucic71 Sep 5, 2026 https://github.com/Cpp2Rust/cpp2rust/pull/330/commits/31763eca509cafd759e34e0be392b944830c28ab
2a78814 Use RAII handler for curr_function lucic71 Sep 5, 2026 https://github.com/Cpp2Rust/cpp2rust/pull/330/commits/2a7881467a03626a689b0d96807c26cc1146740c
01c9e36 Update tests lucic71 Sep 5, 2026 https://github.com/Cpp2Rust/cpp2rust/pull/330/commits/01c9e3650b3af1ce1d3d3c803de658b9e81e8114
f2483a7 Simplify destructor checks lucic71 Sep 5, 2026 https://github.com/Cpp2Rust/cpp2rust/pull/330/commits/f2483a7bf0b17b93ad3bdbf188bda09c4c7ba4a5
ec271fd Add more destructor tests lucic71 Sep 5, 2026 https://github.com/Cpp2Rust/cpp2rust/pull/330/commits/ec271fd713687efbaa31c8a2f42bbbae4aa43da6
1606196 clang format lucic71 Sep 5, 2026 https://github.com/Cpp2Rust/cpp2rust/pull/330/commits/1606196725a3fcaf6e3d8fe245fe86c9a66d1ac3
Clear filters https://github.com/Cpp2Rust/cpp2rust/pull/330/files
Please reload this pagehttps://github.com/Cpp2Rust/cpp2rust/pull/330/files
Please reload this pagehttps://github.com/Cpp2Rust/cpp2rust/pull/330/files
converter.cpp https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
converter.h https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-f197587a9f5c9f534c7d3333f393b7c810acb16ba043b1c9421a93cad756c441
converter_lib.cpp https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-ae6bb4a4ff64f783629180d64e129a1fc7a90be17e4517fade98529ac46d183d
converter_lib.h https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-b3cc6c632997b92f65174bc33690d182924f89ca0384f11ca755b178044f842d
converter_refcount.cpp https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-086dd5a19fe4ea5036115bfcb7eb45e4917c9e89ef6adacdc381aa4bff56e98a
destructor.cpp https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-75a0879449011b401f02c391424f4503f8577287c7f79a06bdd6d4c593bc260c
destructor.rs https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-26db1ba51a7a68daef93e812fe20250bf9ce907f9b9fd5d09a5aa05bf244719e
destructor.rs https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-4ad59b4433f9480110e97ddb88096ec27ee7b088de88835135157b1ab2848b36
cpp2rust/converter/converter.cpphttps://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
View file https://github.com/lucic71/cpp2rust/blob/1606196725a3fcaf6e3d8fe245fe86c9a66d1ac3/cpp2rust/converter/converter.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Cpp2Rust/cpp2rust/pull/330/{{ revealButtonHref }}
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-87f37877b158de5c88f4955ff97b30bfebd1e30d15052089259f15f0bff6ad9d
cpp2rust/converter/converter.hhttps://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-f197587a9f5c9f534c7d3333f393b7c810acb16ba043b1c9421a93cad756c441
View file https://github.com/lucic71/cpp2rust/blob/1606196725a3fcaf6e3d8fe245fe86c9a66d1ac3/cpp2rust/converter/converter.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Cpp2Rust/cpp2rust/pull/330/{{ revealButtonHref }}
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-f197587a9f5c9f534c7d3333f393b7c810acb16ba043b1c9421a93cad756c441
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-f197587a9f5c9f534c7d3333f393b7c810acb16ba043b1c9421a93cad756c441
cpp2rust/converter/converter_lib.cpphttps://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-ae6bb4a4ff64f783629180d64e129a1fc7a90be17e4517fade98529ac46d183d
View file https://github.com/lucic71/cpp2rust/blob/1606196725a3fcaf6e3d8fe245fe86c9a66d1ac3/cpp2rust/converter/converter_lib.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Cpp2Rust/cpp2rust/pull/330/{{ revealButtonHref }}
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-ae6bb4a4ff64f783629180d64e129a1fc7a90be17e4517fade98529ac46d183d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-ae6bb4a4ff64f783629180d64e129a1fc7a90be17e4517fade98529ac46d183d
cpp2rust/converter/converter_lib.hhttps://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-b3cc6c632997b92f65174bc33690d182924f89ca0384f11ca755b178044f842d
View file https://github.com/lucic71/cpp2rust/blob/1606196725a3fcaf6e3d8fe245fe86c9a66d1ac3/cpp2rust/converter/converter_lib.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Cpp2Rust/cpp2rust/pull/330/{{ revealButtonHref }}
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-b3cc6c632997b92f65174bc33690d182924f89ca0384f11ca755b178044f842d
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-b3cc6c632997b92f65174bc33690d182924f89ca0384f11ca755b178044f842d
cpp2rust/converter/models/converter_refcount.cpphttps://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-086dd5a19fe4ea5036115bfcb7eb45e4917c9e89ef6adacdc381aa4bff56e98a
View file https://github.com/lucic71/cpp2rust/blob/1606196725a3fcaf6e3d8fe245fe86c9a66d1ac3/cpp2rust/converter/models/converter_refcount.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Cpp2Rust/cpp2rust/pull/330/{{ revealButtonHref }}
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-086dd5a19fe4ea5036115bfcb7eb45e4917c9e89ef6adacdc381aa4bff56e98a
https://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-086dd5a19fe4ea5036115bfcb7eb45e4917c9e89ef6adacdc381aa4bff56e98a
tests/unit/destructor.cpphttps://github.com/Cpp2Rust/cpp2rust/pull/330/files#diff-75a0879449011b401f02c391424f4503f8577287c7f79a06bdd6d4c593bc260c
View file https://github.com/lucic71/cpp2rust/blob/1606196725a3fcaf6e3d8fe245fe86c9a66d1ac3/tests/unit/destructor.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Cpp2Rust/cpp2rust/pull/330/{{ revealButtonHref }}
Please reload this pagehttps://github.com/Cpp2Rust/cpp2rust/pull/330/files
Please reload this pagehttps://github.com/Cpp2Rust/cpp2rust/pull/330/files
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.