TrinityCore
StringFormat.cpp
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include "StringFormat.h"
19#include "Define.h"
20#include <fmt/format.h>
21
22// explicit template instantiations
23template struct TC_COMMON_API fmt::formatter<int>;
24template struct TC_COMMON_API fmt::formatter<unsigned>;
25template struct TC_COMMON_API fmt::formatter<long long>;
26template struct TC_COMMON_API fmt::formatter<unsigned long long>;
27template struct TC_COMMON_API fmt::formatter<bool>;
28template struct TC_COMMON_API fmt::formatter<char>;
29template struct TC_COMMON_API fmt::formatter<float>;
30template struct TC_COMMON_API fmt::formatter<double>;
31template struct TC_COMMON_API fmt::formatter<long double>;
32template struct TC_COMMON_API fmt::formatter<char const*>;
33template struct TC_COMMON_API fmt::formatter<void const*>;
34template struct TC_COMMON_API fmt::formatter<fmt::basic_string_view<char>>;
35
36template TC_COMMON_API fmt::appender fmt::formatter<int>::format<fmt::format_context>(int const&, format_context&) const;
37template TC_COMMON_API fmt::appender fmt::formatter<unsigned>::format<fmt::format_context>(unsigned const&, format_context&) const;
38template TC_COMMON_API fmt::appender fmt::formatter<long long>::format<fmt::format_context>(long long const&, format_context&) const;
39template TC_COMMON_API fmt::appender fmt::formatter<unsigned long long>::format<fmt::format_context>(unsigned long long const&, format_context&) const;
40template TC_COMMON_API fmt::appender fmt::formatter<bool>::format<fmt::format_context>(bool const&, format_context&) const;
41template TC_COMMON_API fmt::appender fmt::formatter<char>::format<fmt::format_context>(char const&, format_context&) const;
42template TC_COMMON_API fmt::appender fmt::formatter<float>::format<fmt::format_context>(float const&, format_context&) const;
43template TC_COMMON_API fmt::appender fmt::formatter<double>::format<fmt::format_context>(double const&, format_context&) const;
44template TC_COMMON_API fmt::appender fmt::formatter<long double>::format<fmt::format_context>(long double const&, format_context&) const;
45template TC_COMMON_API fmt::appender fmt::formatter<char const*>::format<fmt::format_context>(char const* const&, format_context&) const;
46template TC_COMMON_API fmt::appender fmt::formatter<void const*>::format<fmt::format_context>(void const* const&, format_context &) const;
47template TC_COMMON_API fmt::appender fmt::formatter<fmt::string_view>::format<fmt::format_context>(string_view const&, format_context &) const;
#define TC_COMMON_API
Definition: Define.h:99