We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isn't std::views::join_with implemented ? Works with gcc 14 and std=c++23
std=c++23
#include <print> #include <ranges> #include <string> std::int32_t main() { std::string str = R"(%userprofile%\Doc\do\%\%%)"; auto first_split = str | std::views::split('%') | std::views::take(2) | std::views::join | std::ranges::to<std::string>(); auto second_split = str | std::views::split('%') | std::views::drop(2) | std::views::join_with('%') | std::ranges::to<std::string>(); std::string path = first_split + second_split; std::print("{}\n{}", first_split, second_split); }
The text was updated successfully, but these errors were encountered:
See https://libcxx.llvm.org/Status/Cxx23.html - it looks like views::join_with is still in progress.
views::join_with
Sorry, something went wrong.
No branches or pull requests
Isn't std::views::join_with implemented ? Works with gcc 14 and
std=c++23
The text was updated successfully, but these errors were encountered: