From 820f56c31698b716e19afa9f60cefa89281dffa4 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Tue, 17 Jun 2025 10:39:53 +0300 Subject: [PATCH] Fix typos (#210) Thanks to https://github.com/TryKuhn for highlighting the issues --- CMakeLists.txt | 2 +- doc/pfr.qbk | 2 +- include/boost/pfr/detail/detectors.hpp | 2 +- include/boost/pfr/io.hpp | 8 ++++---- include/boost/pfr/ops.hpp | 8 ++++---- test/appveyor.yml | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aef0bc3..5577981 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ if (BOOST_USE_MODULES) target_compile_definitions(boost_pfr PRIVATE BOOST_PFR_USE_STD_MODULE) message(STATUS "Using `import std;`") else() - message(STATUS "`import std;` is not awailable") + message(STATUS "`import std;` is not available") endif() target_include_directories(boost_pfr PUBLIC include) else() diff --git a/doc/pfr.qbk b/doc/pfr.qbk index 4e10e68..cef0e20 100644 --- a/doc/pfr.qbk +++ b/doc/pfr.qbk @@ -563,7 +563,7 @@ make the `Boost::pfr` CMake target provide it. After that an explicit usage of C [pfr_module_example] The `Boost::pfr` CMake target gives an ability to mix includes and imports of the PFR library in different translation units. Moreover, -if `BOOST_USE_MODULES` macro is defined then all the `boost/pfr/...` includes implicilty do `import boost.pfr;` to give all the +if `BOOST_USE_MODULES` macro is defined then all the `boost/pfr/...` includes implicitly do `import boost.pfr;` to give all the benifits of modules without changing the existing code. [note For better compile times make sure that `import std;` is available when building the `boost.pfr` module (in CMake logs there should be diff --git a/include/boost/pfr/detail/detectors.hpp b/include/boost/pfr/detail/detectors.hpp index b87da01..04bbe62 100644 --- a/include/boost/pfr/detail/detectors.hpp +++ b/include/boost/pfr/detail/detectors.hpp @@ -19,7 +19,7 @@ namespace boost { namespace pfr { namespace detail { struct can_not_apply{}; template