Skip to content

Replace String::compose by std::format#3753

Open
JanVogelsang wants to merge 4 commits intonest:mainfrom
JanVogelsang:cpp20-compose
Open

Replace String::compose by std::format#3753
JanVogelsang wants to merge 4 commits intonest:mainfrom
JanVogelsang:cpp20-compose

Conversation

@JanVogelsang
Copy link
Copy Markdown
Contributor

@JanVogelsang JanVogelsang commented Mar 3, 2026

This PR replaces our custom string compose functionality by the C++ standard format function introduced in C++20.

Quote @heplesser:

It seems we need to stick with std::format for some time, since GCC only supports std::format from v 13 onwards (https://en.cppreference.com/w/cpp/compiler_support/20) and our standard Linux runners have gcc 11.

@heplesser
Copy link
Copy Markdown
Contributor

I am afraid that his will have to wait until we no longer support Ubuntu 22.04 with gcc-11 as default compiler.

@JanVogelsang JanVogelsang self-assigned this Mar 4, 2026
@JanVogelsang JanVogelsang added P: Blocked Work on this can not continue, see comments for the particular reason S: Normal Handle this with default priority I: Internal API Changes were introduced in basic internal workings of the simulator that developers need to know labels Mar 4, 2026
@github-project-automation github-project-automation Bot moved this to In progress in Kernel Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

I: Internal API Changes were introduced in basic internal workings of the simulator that developers need to know P: Blocked Work on this can not continue, see comments for the particular reason S: Normal Handle this with default priority

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants