@@ -149,7 +149,7 @@ _LIBCPP_HIDE_FROM_ABI decltype(auto) __visit_format_arg(_Visitor&& __vis, basic_
149149 __libcpp_unreachable ();
150150}
151151
152- # if _LIBCPP_STD_VER >= 26 && _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
152+ # if _LIBCPP_STD_VER >= 26
153153
154154template <class _Rp , class _Visitor , class _Context >
155155_LIBCPP_HIDE_FROM_ABI _Rp __visit_format_arg (_Visitor&& __vis, basic_format_arg<_Context> __arg) {
@@ -200,7 +200,7 @@ _LIBCPP_HIDE_FROM_ABI _Rp __visit_format_arg(_Visitor&& __vis, basic_format_arg<
200200 __libcpp_unreachable ();
201201}
202202
203- # endif // _LIBCPP_STD_VER >= 26 && _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
203+ # endif // _LIBCPP_STD_VER >= 26
204204
205205// / Contains the values used in basic_format_arg.
206206// /
@@ -285,7 +285,7 @@ class _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS basic_format_arg {
285285
286286 _LIBCPP_HIDE_FROM_ABI explicit operator bool () const noexcept { return __type_ != __format::__arg_t ::__none; }
287287
288- # if _LIBCPP_STD_VER >= 26 && _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
288+ # if _LIBCPP_STD_VER >= 26
289289
290290 // This function is user facing, so it must wrap the non-standard types of
291291 // the "variant" in a handle to stay conforming. See __arg_t for more details.
@@ -329,7 +329,7 @@ class _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS basic_format_arg {
329329 }
330330 }
331331
332- # endif // _LIBCPP_STD_VER >= 26 && _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
332+ # endif // _LIBCPP_STD_VER >= 26
333333
334334private:
335335 using char_type = typename _Context::char_type;
@@ -371,7 +371,7 @@ class _LIBCPP_TEMPLATE_VIS basic_format_arg<_Context>::handle {
371371// This function is user facing, so it must wrap the non-standard types of
372372// the "variant" in a handle to stay conforming. See __arg_t for more details.
373373template <class _Visitor , class _Context >
374- # if _LIBCPP_STD_VER >= 26 && _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
374+ # if _LIBCPP_STD_VER >= 26
375375_LIBCPP_DEPRECATED_IN_CXX26
376376# endif
377377 _LIBCPP_HIDE_FROM_ABI decltype (auto )
@@ -387,7 +387,7 @@ _LIBCPP_DEPRECATED_IN_CXX26
387387 typename __basic_format_arg_value<_Context>::__handle __h{__arg.__value_ .__u128_ };
388388 return std::invoke (std::forward<_Visitor>(__vis), typename basic_format_arg<_Context>::handle{__h});
389389 }
390- # endif // _LIBCPP_STD_VER >= 26 && _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
390+ # endif // _LIBCPP_STD_VER >= 26
391391 default :
392392 return std::__visit_format_arg (std::forward<_Visitor>(__vis), __arg);
393393 }
0 commit comments