std::formatter<std::filesystem::path>

Header: <filesystem>

The template specialization of std::formatter for the std::filesystem::path class allows users to convert a pathname to its textual representation using formatting functions. This specialization is debug-enabled.

# Declarations

template< class CharT >
struct formatter<std::filesystem::path, CharT>;

(since C++26)

# Notes

Feature-test macro Value Std Feature __cpp_lib_format_path 202403L (C++26) formatting support for std::filesystem::path

# Example

This section is incompleteReason: no example

# See also