// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Export.hpp #pragma once #ifndef NAZARA_CORE_FORMAT_HPP #define NAZARA_CORE_FORMAT_HPP #include #include #include #ifdef NAZARA_BUILD #include #include #include #define NAZARA_FORMAT(s) FMT_STRING(s) #else #define NAZARA_FORMAT(s) s #endif namespace Nz { #ifdef NAZARA_BUILD template using FormatString = fmt::format_string; #else template using FormatString = std::string_view; #endif template std::string Format(FormatString str, Args&&... args); } #include #endif // NAZARA_CORE_FORMAT_HPP