File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 201
201
# define FMT_NODISCARD
202
202
#endif
203
203
204
- #ifdef FMT_DEPRECATED
205
- // Use the provided definition.
206
- #elif FMT_HAS_CPP14_ATTRIBUTE(deprecated)
207
- # define FMT_DEPRECATED [[deprecated]]
208
- #else
209
- # define FMT_DEPRECATED /* deprecated */
210
- #endif
211
-
212
204
#if FMT_GCC_VERSION || FMT_CLANG_VERSION
213
205
# define FMT_VISIBILITY (value ) __attribute__((visibility(value)))
214
206
#else
@@ -2677,13 +2669,9 @@ class context {
2677
2669
FMT_NO_UNIQUE_ADDRESS detail::locale_ref loc_;
2678
2670
2679
2671
public:
2680
- // / The character type for the output.
2681
- using char_type = char ;
2682
-
2672
+ using char_type = char ; // < The character type for the output.
2683
2673
using iterator = appender;
2684
2674
using format_arg = basic_format_arg<context>;
2685
- using parse_context_type FMT_DEPRECATED = parse_context<>;
2686
- template <typename T> using formatter_type FMT_DEPRECATED = formatter<T>;
2687
2675
enum { builtin_types = FMT_BUILTIN_TYPES };
2688
2676
2689
2677
// / Constructs a `context` object. References to the arguments are stored
Original file line number Diff line number Diff line change 118
118
# define FMT_NOINLINE
119
119
#endif
120
120
121
+ #ifdef FMT_DEPRECATED
122
+ // Use the provided definition.
123
+ #elif FMT_HAS_CPP14_ATTRIBUTE(deprecated)
124
+ # define FMT_DEPRECATED [[deprecated]]
125
+ #else
126
+ # define FMT_DEPRECATED /* deprecated */
127
+ #endif
128
+
121
129
// Detect constexpr std::string.
122
130
#if !FMT_USE_CONSTEVAL
123
131
# define FMT_USE_CONSTEXPR_STRING 0
You can’t perform that action at this time.
0 commit comments