Mountain  1.0.0
Simple C++ 2D Game Framework
formatter.hpp File Reference

Defines template specializations of std::formatter for external types. More...

#include <filesystem>
#include <format>
#include <sstream>
#include "Mountain/utils/concepts.hpp"
+ Include dependency graph for formatter.hpp:

Go to the source code of this file.

Classes

struct  std::formatter< std::filesystem::path >
 std::formatter template specialization for the std::filesystem::path type. More...
 
struct  std::formatter< Exception >
 std::formatter template specialization for the std::exception type. More...
 

Detailed Description

Defines template specializations of std::formatter for external types.

This file also defines the Formattable concept, as it seems it isn't included in the C++23 MSVC STL.

In this file, we don't follow our conventions on some things because it is mostly an extension of the STL.

See also
std::formatter
std::formattable

Definition in file formatter.hpp.