#include "Define.h"
#include "Optional.h"
#include "StringFormatFwd.h"
#include <fmt/core.h>
Go to the source code of this file.
|
| template<typename... Args> |
| constexpr auto | Trinity::MakeFormatArgs (Args &&... args) |
| |
| std::string | Trinity::Impl::StringVFormat (FormatStringView fmt, FormatArgs args) noexcept |
| |
| void | Trinity::Impl::StringVFormatToImpl (fmt::detail::buffer< char > &buffer, FormatStringView fmt, FormatArgs args) noexcept |
| |
| template<typename OutputIt > |
| OutputIt | Trinity::StringVFormatTo (OutputIt out, FormatStringView fmt, FormatArgs args) noexcept |
| |
| template<typename... Args> |
| std::string | Trinity::StringFormat (FormatString< Args... > fmt, Args &&... args) noexcept |
| | Default TC string format function.
|
| |
| template<typename OutputIt , typename... Args> |
| OutputIt | Trinity::StringFormatTo (OutputIt out, FormatString< Args... > fmt, Args &&... args) noexcept |
| |
| bool | Trinity::IsFormatEmptyOrNull (char const *fmt) |
| | Returns true if the given char pointer is null.
|
| |
| bool | Trinity::IsFormatEmptyOrNull (std::string const &fmt) |
| | Returns true if the given std::string is empty.
|
| |
| constexpr bool | Trinity::IsFormatEmptyOrNull (std::string_view fmt) |
| | Returns true if the given std::string_view is empty.
|
| |
| constexpr bool | Trinity::IsFormatEmptyOrNull (fmt::string_view fmt) |
| |
| template<typename E , std::enable_if_t< std::is_enum_v< E >, std::nullptr_t > = nullptr> |
| constexpr auto | format_as (E e) |
| |
◆ format_as()
template<typename E , std::enable_if_t< std::is_enum_v< E >, std::nullptr_t > = nullptr>
| constexpr auto format_as |
( |
E |
e | ) |
|
|
inlineconstexpr |