Title: ambiguous `simplecpp::TokenList` constructors with >= C++17 · Issue #588 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: ambiguous `simplecpp::TokenList` constructors with >= C++17 · Issue #588 · cppcheck-opensource/simplecpp
X Title: ambiguous `simplecpp::TokenList` constructors with >= C++17 · Issue #588 · cppcheck-opensource/simplecpp
Description: Calling simplecpp::TokenList with a char buffer will lead to a compilation failure because of ambiguous constructors: /home/user/CLionProjects/cppcheck/externals/simplecpp/./simplecpp.h:254:9: note: candidate constructor 254 | TokenList(...
Open Graph Description: Calling simplecpp::TokenList with a char buffer will lead to a compilation failure because of ambiguous constructors: /home/user/CLionProjects/cppcheck/externals/simplecpp/./simplecpp.h:254:9: note...
X Description: Calling simplecpp::TokenList with a char buffer will lead to a compilation failure because of ambiguous constructors: /home/user/CLionProjects/cppcheck/externals/simplecpp/./simplecpp.h:254:9: note...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/588
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ambiguous `simplecpp::TokenList` constructors with \u003e= C++17","articleBody":"Calling `simplecpp::TokenList` with a char buffer will lead to a compilation failure because of ambiguous constructors:\n\n```\n/home/user/CLionProjects/cppcheck/externals/simplecpp/./simplecpp.h:254:9: note: candidate constructor\n 254 | TokenList(std::string_view data, std::vector\u003cstd::string\u003e \u0026filenames, const std::string \u0026filename=std::string(), OutputList *outputList = nullptr)\n | ^\n/home/user/CLionProjects/cppcheck/externals/simplecpp/./simplecpp.h:271:9: note: candidate constructor\n 271 | TokenList(const std::string \u0026filename, std::vector\u003cstd::string\u003e \u0026filenames, OutputList *outputList = nullptr);\n | ^\n```\n\nFixing #424 might make this more explicit when we no longer allow the filename to be provided via the vector *and* the explicit parameter.","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2025-11-13T17:12:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/588/simplecpp/issues/588"}
| 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:ed7de82d-59d7-332a-0708-f5cf817d9515 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E644:3891D8:1B08F:2822B:6A4DF880 |
| html-safe-nonce | f774e226624351e84f2b2c2d966ea79c444258e4c7b656f6416d596dbee11e48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjQ0OjM4OTFEODoxQjA4RjoyODIyQjo2QTRERjg4MCIsInZpc2l0b3JfaWQiOiI4MTI4MjA0MjQyMDAxMTk3MTg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d1f36de66886a530bf2c086e3af2f623a7b946c5e06ed32694b4a4260e184752 |
| hovercard-subject-tag | issue:3622077926 |
| 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/cppcheck-opensource/simplecpp/588/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4c203d36e522458c4c79f193cb17608200f218819c2764c0561360c4a3e393fe/cppcheck-opensource/simplecpp/issues/588 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4c203d36e522458c4c79f193cb17608200f218819c2764c0561360c4a3e393fe/cppcheck-opensource/simplecpp/issues/588 |
| og:image:alt | Calling simplecpp::TokenList with a char buffer will lead to a compilation failure because of ambiguous constructors: /home/user/CLionProjects/cppcheck/externals/simplecpp/./simplecpp.h:254:9: note... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | firewave |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 33434464 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/simplecpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33434464 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/simplecpp |
| 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 | 4314b1df11fa8a565684f3a72dc971e3785da365 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width