mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-27 11:40:26 +00:00
9860f67cde
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
35 lines
710 B
C++
35 lines
710 B
C++
// Formatting library for C++ - formatters for standard library types
|
|
//
|
|
// Copyright (c) 2012 - present, Victor Zverovich
|
|
// All rights reserved.
|
|
//
|
|
// For the license information refer to format.h.
|
|
|
|
#ifndef FMT_STD_H_
|
|
#define FMT_STD_H_
|
|
|
|
#include <thread>
|
|
|
|
#include "ostream.h"
|
|
|
|
#if FMT_HAS_INCLUDE(<version>)
|
|
# include <version>
|
|
#endif
|
|
|
|
#ifdef __cpp_lib_filesystem
|
|
# include <filesystem>
|
|
|
|
FMT_BEGIN_NAMESPACE
|
|
template <typename Char>
|
|
struct formatter<std::filesystem::path, Char> : basic_ostream_formatter<Char> {
|
|
};
|
|
FMT_END_NAMESPACE
|
|
#endif
|
|
|
|
FMT_BEGIN_NAMESPACE
|
|
template <typename Char>
|
|
struct formatter<std::thread::id, Char> : basic_ostream_formatter<Char> {};
|
|
FMT_END_NAMESPACE
|
|
|
|
#endif // FMT_STD_H_
|