diff --git a/include/fmt/base.h b/include/fmt/base.h index 7a7ef0c83f75..b47b55537a27 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -1,12 +1,12 @@ -// Formatting library for C++ - the core API for char/UTF-8 +// Formatting library for C++ - the base API for char/UTF-8 // // Copyright (c) 2012 - present, Victor Zverovich // All rights reserved. // // For the license information refer to format.h. -#ifndef FMT_CORE_H_ -#define FMT_CORE_H_ +#ifndef FMT_BASE_H_ +#define FMT_BASE_H_ #include // CHAR_BIT #include // FILE @@ -340,7 +340,7 @@ struct monostate { # define FMT_ENABLE_IF(...) fmt::enable_if_t<(__VA_ARGS__), int> = 0 #endif -// This is defined in core.h instead of format.h to avoid injecting in std. +// This is defined in base.h instead of format.h to avoid injecting in std. // It is a template to avoid undesirable implicit conversions to std::byte. #ifdef __cpp_lib_byte template ::value)> @@ -2952,4 +2952,4 @@ FMT_END_NAMESPACE #ifdef FMT_HEADER_ONLY # include "format.h" #endif -#endif // FMT_CORE_H_ +#endif // FMT_BASE_H_ diff --git a/include/fmt/core.h b/include/fmt/core.h new file mode 100644 index 000000000000..b0d6a1024686 --- /dev/null +++ b/include/fmt/core.h @@ -0,0 +1 @@ +#include "format.h"