Title: Use of `std::basic_string
Open Graph Title: Use of `std::basic_string
X Title: Use of `std::basic_string
Description: https://github.com/cpp-netlib/cpp-netlib/blob/552ce94bd91c055f11ba524adf0ca0712063d711/libs/network/src/server_request_parsers_impl.cpp#L21C1-L21C8 In libc++ 19.0.0 release notes (https://releases.llvm.org/19.1.0/projects/libcxx/docs/Rel...
Open Graph Description: https://github.com/cpp-netlib/cpp-netlib/blob/552ce94bd91c055f11ba524adf0ca0712063d711/libs/network/src/server_request_parsers_impl.cpp#L21C1-L21C8 In libc++ 19.0.0 release notes (https://releases....
X Description: https://github.com/cpp-netlib/cpp-netlib/blob/552ce94bd91c055f11ba524adf0ca0712063d711/libs/network/src/server_request_parsers_impl.cpp#L21C1-L21C8 In libc++ 19.0.0 release notes (https://releases....
Opengraph URL: https://github.com/cpp-netlib/cpp-netlib/issues/908
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use of `std::basic_string\u003cuint32_t\u003e` will likely break with libc++ \u003e= 19.0.0","articleBody":"https://github.com/cpp-netlib/cpp-netlib/blob/552ce94bd91c055f11ba524adf0ca0712063d711/libs/network/src/server_request_parsers_impl.cpp#L21C1-L21C8\n\nIn libc++ 19.0.0 release notes (https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.html):\n\n\u003e The base template for `std::char_traits` has been removed in LLVM 19. If you are using `std::char_traits` with types other than `char`, `wchar_t`, `char8_t`, `char16_t`, `char32_t` or a custom character type for which you specialized `std::char_traits`, your code will stop working. The Standard does not mandate that a base template is provided, and such a base template is bound to be incorrect for some types, which could currently cause unexpected behavior while going undetected.\n\nIn NixOS, this is creating build failures for us when building `cpp-netlib-0.13.0-final` with clang:\n\n```\nIn file included from /tmp/nix-build-cpp-netlib-0.13.0-final.drv-0/source/libs/network/src/server_request_parsers_impl.cpp:10:\nIn file included from /tmp/nix-build-cpp-netlib-0.13.0-final.drv-0/source/boost/network/protocol/http/server/impl/parsers.ipp:5:\nIn file included from include/boost/spirit/include/qi.hpp:16:\nIn file included from include/boost/spirit/home/qi.hpp:14:\n...\n...\nIn file included from /nix/store/kx521w0j19ssvmcw8gfziiszjgm2bf8x-libcxx-19.1.7-dev/include/c++/v1/__format/parser_std_format_spec.h:39:\n/nix/store/kx521w0j19ssvmcw8gfziiszjgm2bf8x-libcxx-19.1.7-dev/include/c++/v1/string:2538:5: error: implicit instantiation of undefined template 'std::char_traits\u003cunsigned int\u003e'\n```\n\nbut I note that in your `main` it has been relocated to the above file with minimal changes so you're likely to have the same issues.","author":{"url":"https://github.com/risicle","@type":"Person","name":"risicle"},"datePublished":"2025-05-04T11:57:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/908/cpp-netlib/issues/908"}
| 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:b3936bd8-4eb3-f0d4-0efc-d5f3fb816825 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 88BA:211079:1D5073B:276263D:696EC5D8 |
| html-safe-nonce | 524c6f32ad657a3b6cbdb36ac7b4c9bf44872b35401c95bdfc19c110d3c36838 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEJBOjIxMTA3OToxRDUwNzNCOjI3NjI2M0Q6Njk2RUM1RDgiLCJ2aXNpdG9yX2lkIjoiNDE2ODM4MzEzOTY5ODA5OTY3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 109dbba151aafc90e9a04f6f3ab85ed3bae99ce22bff18109576541e95685338 |
| hovercard-subject-tag | issue:3037961525 |
| 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/cpp-netlib/cpp-netlib/908/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f1cd23c269aeca5d00756180dee71fdfd53da1bbe25063b8532d9b77fee8ebe/cpp-netlib/cpp-netlib/issues/908 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f1cd23c269aeca5d00756180dee71fdfd53da1bbe25063b8532d9b77fee8ebe/cpp-netlib/cpp-netlib/issues/908 |
| og:image:alt | https://github.com/cpp-netlib/cpp-netlib/blob/552ce94bd91c055f11ba524adf0ca0712063d711/libs/network/src/server_request_parsers_impl.cpp#L21C1-L21C8 In libc++ 19.0.0 release notes (https://releases.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | risicle |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/cpp-netlib/cpp-netlib git https://github.com/cpp-netlib/cpp-netlib.git |
| octolytics-dimension-user_id | 192422 |
| octolytics-dimension-user_login | cpp-netlib |
| octolytics-dimension-repository_id | 494068 |
| octolytics-dimension-repository_nwo | cpp-netlib/cpp-netlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 469399 |
| octolytics-dimension-repository_parent_nwo | glynos/cpp-netlib |
| octolytics-dimension-repository_network_root_id | 469399 |
| octolytics-dimension-repository_network_root_nwo | glynos/cpp-netlib |
| 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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width