Use fmt store instead of ToString fallback

Thanks to @jonathanpoelen for the idea
This commit is contained in:
SirLynix
2023-08-14 23:47:00 +02:00
committed by Jérôme Leclercq
parent a741672a51
commit ab8bac2575
10 changed files with 118 additions and 243 deletions

View File

@@ -0,0 +1,21 @@
// Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_CORE_FORMAT_HPP
#define NAZARA_CORE_FORMAT_HPP
#include <NazaraUtils/Prerequisites.hpp>
#include <Nazara/Core/Config.hpp>
#include <string>
namespace Nz
{
template<typename... Args> std::string Format(std::string_view str, Args&&... args);
}
#include <Nazara/Core/Format.inl>
#endif // NAZARA_CORE_FORMAT_HPP