From ce039d14fe1ac2aa7f8dbf6d4b025d06c9b30457 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 4 Sep 2026 09:37:28 -0700 Subject: [PATCH] Move migration guidance to documentation --- README.md | 8 -------- doc/get-started.md | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 785d0394..b4a87b99 100644 --- a/README.md +++ b/README.md @@ -247,14 +247,6 @@ binary size (within a rounding error on this system). to compare formatting function overhead only. Boost Format is a header-only library so it doesn\'t provide any linkage options. -# Migrating code - -[clang-tidy](https://clang.llvm.org/extra/clang-tidy/) v18 provides the -[modernize-use-std-print](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-std-print.html) -check that is capable of converting occurrences of `printf` and -`fprintf` to `fmt::print` if configured to do so. (By default it -converts to `std::print`.) - # Projects using {fmt} Notable users include: diff --git a/doc/get-started.md b/doc/get-started.md index f08f378d..d2590d91 100644 --- a/doc/get-started.md +++ b/doc/get-started.md @@ -120,6 +120,14 @@ You can download and install {fmt} using the [Conan](https://conan.io/) package If the version is out of date or the package does not work, please create an issue or pull request on the Conan Center Index repository. --> +## Migrating from `printf` + +[clang-tidy](https://clang.llvm.org/extra/clang-tidy/) v18 provides the +[modernize-use-std-print](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-std-print.html) +check that is capable of converting occurrences of `printf` and +`fprintf` to `fmt::print` if configured to do so. (By default it +converts to `std::print`.) + ## Building from Source CMake works by generating native makefiles or project files that can be