mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Release Cosmopolitan v3.6.0
This release is an atomic upgrade to GCC 14.1.0 with C23 and C++23
This commit is contained in:
parent
62ace3623a
commit
5660ec4741
1585 changed files with 117353 additions and 271644 deletions
6
third_party/libcxx/__concepts/invocable.h
vendored
6
third_party/libcxx/__concepts/invocable.h
vendored
|
@ -23,14 +23,14 @@ _LIBCPP_BEGIN_NAMESPACE_STD
|
|||
|
||||
// [concept.invocable]
|
||||
|
||||
template<class _Fn, class... _Args>
|
||||
template <class _Fn, class... _Args>
|
||||
concept invocable = requires(_Fn&& __fn, _Args&&... __args) {
|
||||
_VSTD::invoke(_VSTD::forward<_Fn>(__fn), _VSTD::forward<_Args>(__args)...); // not required to be equality preserving
|
||||
std::invoke(std::forward<_Fn>(__fn), std::forward<_Args>(__args)...); // not required to be equality preserving
|
||||
};
|
||||
|
||||
// [concept.regular.invocable]
|
||||
|
||||
template<class _Fn, class... _Args>
|
||||
template <class _Fn, class... _Args>
|
||||
concept regular_invocable = invocable<_Fn, _Args...>;
|
||||
|
||||
#endif // _LIBCPP_STD_VER >= 20
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue