Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Cpp2Rust
/
cpp2rust
Public
Notifications
You must be signed in to change notification settings
Fork
17
Star
304
Code
Issues
13
Pull requests
7
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Rewrite
std::mem::take
in rules for records with user-defined move constructor
- #365
#365
Closed
lucic71
wants to merge 19 commits into
Cpp2Rust:master
Cpp2Rust/cpp2rust:master
from
lucic71:mem-take-rewrite
lucic71/cpp2rust:mem-take-rewrite
Copy head branch name to clipboard
Conversation
Commits
19
(19)
Checks
Files changed
Closed
Rewrite
std::mem::take
in rules for records with user-defined move constructor
#365
lucic71
wants to merge 19 commits into
Cpp2Rust:master
Cpp2Rust/cpp2rust:master
from
lucic71:mem-take-rewrite
lucic71/cpp2rust:mem-take-rewrite
Copy head branch name to clipboard
Commits
Commits on Sep 14, 2026
Add move rules for array, map, unique_ptr and vector
lucic71
committed
8fbc44f
View commit details
Copy full SHA for 8fbc44f
Browse repository at this point
Make std::move transparent in the converter
lucic71
committed
34a5373
View commit details
Copy full SHA for 34a5373
Browse repository at this point
Rewrite std::mem::take
lucic71
committed
a3f26fc
View commit details
Copy full SHA for a3f26fc
Browse repository at this point
Translate and use user defined move constructor
lucic71
committed
e2c3173
View commit details
Copy full SHA for e2c3173
Browse repository at this point
Translate nameless C++ params as _a1, _a2, etc
lucic71
committed
e46e1ad
View commit details
Copy full SHA for e46e1ad
Browse repository at this point
Merge branch 'naming' into user-defiend-move
lucic71
committed
0a7ee2a
View commit details
Copy full SHA for 0a7ee2a
Browse repository at this point
Merge branch 'master' into user-defiend-move
lucic71
committed
b3794b7
View commit details
Copy full SHA for b3794b7
Browse repository at this point
Add rules for rest of STL types move and copy
lucic71
committed
942f9cd
View commit details
Copy full SHA for 942f9cd
Browse repository at this point
Add rule for builtin memcpy
lucic71
committed
c02b2a5
View commit details
Copy full SHA for c02b2a5
Browse repository at this point
Add todo
lucic71
committed
a95b94d
View commit details
Copy full SHA for a95b94d
Browse repository at this point
Merge branch 'master' into user-defiend-move
lucic71
committed
9c84c0a
View commit details
Copy full SHA for 9c84c0a
Browse repository at this point
Materialize temporary when calling method
lucic71
committed
392a53c
View commit details
Copy full SHA for 392a53c
Browse repository at this point
Merge emit_push_open and emit_push_close
lucic71
committed
e3c78ce
View commit details
Copy full SHA for e3c78ce
Browse repository at this point
Always convert calls to move constructor
lucic71
committed
7d43107
View commit details
Copy full SHA for 7d43107
Browse repository at this point
Merge branch 'user-defiend-move' into mem-take-rewrite
lucic71
committed
0b374d6
View commit details
Copy full SHA for 0b374d6
Browse repository at this point
Update tests
lucic71
committed
099ddcd
View commit details
Copy full SHA for 099ddcd
Browse repository at this point
ADd MakeCosntructExpr
lucic71
committed
a538ea2
View commit details
Copy full SHA for a538ea2
Browse repository at this point
Move constructor has priority over copyable
lucic71
committed
646ad25
View commit details
Copy full SHA for 646ad25
Browse repository at this point
Update tests
lucic71
committed
bd9e1a7
View commit details
Copy full SHA for bd9e1a7
Browse repository at this point
You can’t perform that action at this time.