From e51c0d0b9301c5329144b8fe1551586e439e8d6c Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Thu, 19 Oct 2023 18:26:19 -0700 Subject: [PATCH] formatting --- include/stdexec/functional.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/include/stdexec/functional.hpp b/include/stdexec/functional.hpp index e3351fd9d..5d1f63ef1 100644 --- a/include/stdexec/functional.hpp +++ b/include/stdexec/functional.hpp @@ -106,8 +106,7 @@ namespace stdexec { namespace __detail { template - using __apply_result_t = - decltype(std::apply(__declval<_Fn>(), __declval<_Tup>())); + using __apply_result_t = decltype(std::apply(__declval<_Fn>(), __declval<_Tup>())); template struct __applicable_helper { @@ -124,8 +123,7 @@ namespace stdexec { template concept __nothrow_applicable = - __applicable<_Fn, _Tup> - && noexcept(std::apply(__declval<_Fn>(), __declval<_Tup>())); + __applicable<_Fn, _Tup>&& noexcept(std::apply(__declval<_Fn>(), __declval<_Tup>())); template requires __applicable<_Fn, _Tup> @@ -135,8 +133,7 @@ namespace stdexec { template requires __applicable<_Fn, _Tup> constexpr auto operator()(_Fn&& __fn, _Tup&& __tup) const - noexcept(__nothrow_applicable<_Fn, _Tup>) - -> __apply_result_t<_Fn, _Tup> { + noexcept(__nothrow_applicable<_Fn, _Tup>) -> __apply_result_t<_Fn, _Tup> { return std::apply((_Fn&&) __fn, (_Tup&&) __tup); } };