mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-28 07:30:55 +02:00
Remove deprecated aliases
This commit is contained in:
@@ -201,14 +201,6 @@
|
|||||||
# define FMT_NODISCARD
|
# define FMT_NODISCARD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FMT_DEPRECATED
|
|
||||||
// Use the provided definition.
|
|
||||||
#elif FMT_HAS_CPP14_ATTRIBUTE(deprecated)
|
|
||||||
# define FMT_DEPRECATED [[deprecated]]
|
|
||||||
#else
|
|
||||||
# define FMT_DEPRECATED /* deprecated */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if FMT_GCC_VERSION || FMT_CLANG_VERSION
|
#if FMT_GCC_VERSION || FMT_CLANG_VERSION
|
||||||
# define FMT_VISIBILITY(value) __attribute__((visibility(value)))
|
# define FMT_VISIBILITY(value) __attribute__((visibility(value)))
|
||||||
#else
|
#else
|
||||||
@@ -2677,13 +2669,9 @@ class context {
|
|||||||
FMT_NO_UNIQUE_ADDRESS detail::locale_ref loc_;
|
FMT_NO_UNIQUE_ADDRESS detail::locale_ref loc_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// The character type for the output.
|
using char_type = char; ///< The character type for the output.
|
||||||
using char_type = char;
|
|
||||||
|
|
||||||
using iterator = appender;
|
using iterator = appender;
|
||||||
using format_arg = basic_format_arg<context>;
|
using format_arg = basic_format_arg<context>;
|
||||||
using parse_context_type FMT_DEPRECATED = parse_context<>;
|
|
||||||
template <typename T> using formatter_type FMT_DEPRECATED = formatter<T>;
|
|
||||||
enum { builtin_types = FMT_BUILTIN_TYPES };
|
enum { builtin_types = FMT_BUILTIN_TYPES };
|
||||||
|
|
||||||
/// Constructs a `context` object. References to the arguments are stored
|
/// Constructs a `context` object. References to the arguments are stored
|
||||||
|
@@ -118,6 +118,14 @@
|
|||||||
# define FMT_NOINLINE
|
# define FMT_NOINLINE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef FMT_DEPRECATED
|
||||||
|
// Use the provided definition.
|
||||||
|
#elif FMT_HAS_CPP14_ATTRIBUTE(deprecated)
|
||||||
|
# define FMT_DEPRECATED [[deprecated]]
|
||||||
|
#else
|
||||||
|
# define FMT_DEPRECATED /* deprecated */
|
||||||
|
#endif
|
||||||
|
|
||||||
// Detect constexpr std::string.
|
// Detect constexpr std::string.
|
||||||
#if !FMT_USE_CONSTEVAL
|
#if !FMT_USE_CONSTEVAL
|
||||||
# define FMT_USE_CONSTEXPR_STRING 0
|
# define FMT_USE_CONSTEXPR_STRING 0
|
||||||
|
Reference in New Issue
Block a user