A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/fmtlib/fmt/issues/4303 below:

formatter · Issue #4303 · fmtlib/fmt · GitHub

Printing a const std::filesystem::path with fileystem, fmt/ostream.h and fmt/std.h included and later including fmt/ranges.h in the same compilation unit causes a strange compile error.

Tested with fmt-11.0.0 and gcc-14.2.

#include <filesystem>
#include <fmt/ostream.h>
#include <fmt/std.h>

void f()
{
    const auto fn = std::filesystem::path{};
    fmt::print("{}", fn);
}

#include <fmt/ranges.h>

https://godbolt.org/z/G5TPbz7o9


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4