Title: Rules do not apply recursively · Issue #15 · Cpp2Rust/cpp2rust · GitHub
Open Graph Title: Rules do not apply recursively · Issue #15 · Cpp2Rust/cpp2rust
X Title: Rules do not apply recursively · Issue #15 · Cpp2Rust/cpp2rust
Description: Right now we have things like: template
Open Graph Description: Right now we have things like: template
X Description: Right now we have things like: template <typename T1> std::vector<std::vector<T1>> f29(const std::vector<std::vector<T1>> &&o) { return std::vector<std::vec...
Opengraph URL: https://github.com/Cpp2Rust/cpp2rust/issues/15
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rules do not apply recursively","articleBody":"Right now we have things like:\n```c++\ntemplate \u003ctypename T1\u003e\nstd::vector\u003cstd::vector\u003cT1\u003e\u003e f29(const std::vector\u003cstd::vector\u003cT1\u003e\u003e \u0026\u0026o) {\n return std::vector\u003cstd::vector\u003cT1\u003e\u003e(std::move(o));\n}\n```\n\nThis leads to a lot of duplicated rules and it's not sustainable. Type instantiation must be done recursively using the \"box until last level\" algorithm.","author":{"url":"https://github.com/nunoplopes","@type":"Person","name":"nunoplopes"},"datePublished":"2026-04-19T18:37:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/15/cpp2rust/issues/15"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8cfc4f89-26d4-063a-e904-5455d8300fe9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B86E:34AAF2:FC105A:1598EE4:6A4D6575 |
| html-safe-nonce | 71453eb687812a15e3aba68a75805481b3ebef710b167ceb7ba4a6689d7f86df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODZFOjM0QUFGMjpGQzEwNUE6MTU5OEVFNDo2QTRENjU3NSIsInZpc2l0b3JfaWQiOiIzNzY2NjIzNTkyMzc4MDk5MDYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 45a66e0033b75a0c05b6235e6888eb2aa2a3fb540c4cd163a718ed5e3d721560 |
| hovercard-subject-tag | issue:4291676476 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Cpp2Rust/cpp2rust/15/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a4761a85e47a8575b053b250eff5b9e25d479accc75b88cc77d7de3afcb309bf/Cpp2Rust/cpp2rust/issues/15 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4761a85e47a8575b053b250eff5b9e25d479accc75b88cc77d7de3afcb309bf/Cpp2Rust/cpp2rust/issues/15 |
| og:image:alt | Right now we have things like: template |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nunoplopes |
| hostname | github.com |
| expected-hostname | github.com |
| None | e6658d7c7808aeed776f841e0839b885fce343c9b96244be612c779298e7661e |
| turbo-cache-control | no-preview |
| go-import | github.com/Cpp2Rust/cpp2rust git https://github.com/Cpp2Rust/cpp2rust.git |
| octolytics-dimension-user_id | 197474191 |
| octolytics-dimension-user_login | Cpp2Rust |
| octolytics-dimension-repository_id | 1183095779 |
| octolytics-dimension-repository_nwo | Cpp2Rust/cpp2rust |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1183095779 |
| octolytics-dimension-repository_network_root_nwo | Cpp2Rust/cpp2rust |
| 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 | a438513d3a22ffcd713795ed948c3e5525007665 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width