Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Apr 25, 2025

Motivation

Once again found by an automated migration to std::format. I've tested that boost::format works fine with std::string_view arguments. https://godbolt.org/z/cqPeszxcP

Context

More of the same stuff as in #13086 and #13087.
Found while testing out an automated migration tool for #10294.
Looks like switching to std::format is indeed worth it for catching such subtle bugs at compile time.

cc @Ericson2314, @Mic92


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.


This is an automatic backport of pull request #13094 done by [Mergify](https://mergify.com).

Once again found by an automated migration to `std::format`.
I've tested that boost::format works fine with `std::string_view`
arguments.

(cherry picked from commit 9fff868)
@mergify mergify bot requested a review from edolstra as a code owner April 25, 2025 13:23
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue labels Apr 25, 2025
@mergify mergify bot merged commit 323e840 into 2.28-maintenance Apr 25, 2025
27 checks passed
@mergify mergify bot deleted the mergify/bp/2.28-maintenance/pr-13094 branch April 25, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant