diff --git a/include/fmt/core.h b/include/fmt/core.h index f6886cf4..5f85f7e8 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -2912,6 +2912,13 @@ FMT_INLINE void println(format_string fmt, T&&... args) { return fmt::println(stdout, fmt, std::forward(args)...); } +/** + Writes a newline to ``stdout``. + */ +FMT_INLINE void println() { + return fmt::println(stdout, ""); +} + FMT_END_EXPORT FMT_GCC_PRAGMA("GCC pop_options") FMT_END_NAMESPACE