@@ -3192,7 +3192,7 @@ _NODISCARD constexpr const _CharT* _Parse_range_specs(
3192
3192
3193
3193
// TRANSITION, VSO-1236041: Avoid declaring and defining member functions in different headers.
3194
3194
template <class _Ty, class _CharT, class _ParseContext>
3195
- constexpr _ParseContext::iterator _Range_formatter_parse(formatter<_Ty, _CharT>& _Underlying,
3195
+ _NODISCARD constexpr _ParseContext::iterator _Range_formatter_parse(formatter<_Ty, _CharT>& _Underlying,
3196
3196
basic_string_view<_CharT>& _Separator, basic_string_view<_CharT>& _Opening_bracket,
3197
3197
basic_string_view<_CharT>& _Closing_bracket, _Range_specs<_CharT>& _Specs, _ParseContext& _Ctx) {
3198
3198
_Range_specs_setter<_CharT> _Callback{_Specs, _Ctx};
@@ -3308,7 +3308,7 @@ void _Range_formatter_format_as_string(_Range&& _Rng, _FormatContext& _Ctx, cons
3308
3308
}
3309
3309
3310
3310
template <class _Ty, class _CharT, _RANGES input_range _Range, class _FormatContext>
3311
- _FormatContext::iterator _Range_formatter_format(const formatter<_Ty, _CharT>& _Underlying,
3311
+ _NODISCARD _FormatContext::iterator _Range_formatter_format(const formatter<_Ty, _CharT>& _Underlying,
3312
3312
const basic_string_view<_CharT> _Separator, const basic_string_view<_CharT> _Opening_bracket,
3313
3313
const basic_string_view<_CharT> _Closing_bracket, _Range&& _Rng, const _Range_specs<_CharT>& _Specs,
3314
3314
_FormatContext& _Ctx) {
@@ -3463,7 +3463,7 @@ constexpr void _Set_tuple_debug_format(_FormatterType& _Formatter, _ParseContext
3463
3463
3464
3464
// TRANSITION, VSO-1236041: Avoid declaring and defining member functions in different headers.
3465
3465
template <class... _Types, class _CharT, class _ParseContext>
3466
- constexpr _ParseContext::iterator _Tuple_formatter_parse(tuple<formatter<_Types, _CharT>...>& _Underlying,
3466
+ _NODISCARD constexpr _ParseContext::iterator _Tuple_formatter_parse(tuple<formatter<_Types, _CharT>...>& _Underlying,
3467
3467
basic_string_view<_CharT>& _Separator, basic_string_view<_CharT>& _Opening_bracket,
3468
3468
basic_string_view<_CharT>& _Closing_bracket, _Fill_align_and_width_specs<_CharT>& _Specs, _ParseContext& _Ctx) {
3469
3469
_Fmt_tuple_type _Fmt_type = _Fmt_tuple_type::_None;
@@ -3508,7 +3508,7 @@ void _Tuple_formatter_format_to_context(const tuple<formatter<_Types, _CharT>...
3508
3508
}
3509
3509
3510
3510
template <class... _Types, class _CharT, class _FormatContext, class... _ArgTypes>
3511
- _FormatContext::iterator _Tuple_formatter_format(const tuple<formatter<_Types, _CharT>...>& _Underlying,
3511
+ _NODISCARD _FormatContext::iterator _Tuple_formatter_format(const tuple<formatter<_Types, _CharT>...>& _Underlying,
3512
3512
const basic_string_view<_CharT> _Separator, const basic_string_view<_CharT> _Opening_bracket,
3513
3513
const basic_string_view<_CharT> _Closing_bracket, const _Fill_align_and_width_specs<_CharT>& _Specs,
3514
3514
_FormatContext& _Fmt_ctx, _ArgTypes&... _Args) {
0 commit comments