|
|
@ -15,7 +15,7 @@
|
|
|
|
#include <type_traits>
|
|
|
|
#include <type_traits>
|
|
|
|
|
|
|
|
|
|
|
|
// The fmt library version in the form major * 10000 + minor * 100 + patch.
|
|
|
|
// The fmt library version in the form major * 10000 + minor * 100 + patch.
|
|
|
|
#define FMT_VERSION 60100
|
|
|
|
#define FMT_VERSION 60101
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __has_feature
|
|
|
|
#ifdef __has_feature
|
|
|
|
# define FMT_HAS_FEATURE(x) __has_feature(x)
|
|
|
|
# define FMT_HAS_FEATURE(x) __has_feature(x)
|
|
|
@ -167,9 +167,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
|
|
|
|
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
|
|
|
|
# ifdef FMT_EXPORT
|
|
|
|
# ifdef FMT_EXPORT
|
|
|
|
# define FMT_API __pragma(warning(suppress : 4275)) __declspec(dllexport)
|
|
|
|
# define FMT_API __declspec(dllexport)
|
|
|
|
# elif defined(FMT_SHARED)
|
|
|
|
# elif defined(FMT_SHARED)
|
|
|
|
# define FMT_API __pragma(warning(suppress : 4275)) __declspec(dllimport)
|
|
|
|
# define FMT_API __declspec(dllimport)
|
|
|
|
# define FMT_EXTERN_TEMPLATE_API FMT_API
|
|
|
|
# define FMT_EXTERN_TEMPLATE_API FMT_API
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -224,7 +224,7 @@ namespace internal {
|
|
|
|
// A workaround for gcc 4.8 to make void_t work in a SFINAE context.
|
|
|
|
// A workaround for gcc 4.8 to make void_t work in a SFINAE context.
|
|
|
|
template <typename... Ts> struct void_t_impl { using type = void; };
|
|
|
|
template <typename... Ts> struct void_t_impl { using type = void; };
|
|
|
|
|
|
|
|
|
|
|
|
void assert_fail(const char* file, int line, const char* message);
|
|
|
|
FMT_API void assert_fail(const char* file, int line, const char* message);
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef FMT_ASSERT
|
|
|
|
#ifndef FMT_ASSERT
|
|
|
|
# ifdef NDEBUG
|
|
|
|
# ifdef NDEBUG
|
|
|
@ -1206,7 +1206,6 @@ template <typename Context, typename... Args> class format_arg_store {
|
|
|
|
static constexpr unsigned long long types =
|
|
|
|
static constexpr unsigned long long types =
|
|
|
|
is_packed ? internal::encode_types<Context, Args...>()
|
|
|
|
is_packed ? internal::encode_types<Context, Args...>()
|
|
|
|
: internal::is_unpacked_bit | num_args;
|
|
|
|
: internal::is_unpacked_bit | num_args;
|
|
|
|
FMT_DEPRECATED static constexpr unsigned long long TYPES = types;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
format_arg_store(const Args&... args)
|
|
|
|
format_arg_store(const Args&... args)
|
|
|
|
: data_{internal::make_arg<is_packed, Context>(args)...} {}
|
|
|
|
: data_{internal::make_arg<is_packed, Context>(args)...} {}
|
|
|
|