Use std::is_nothrow_callable for std::invoke according to 2807.
Details
Details
- Reviewers
EricWF mclow.lists zoecarver - Commits
- rG6c49e1ce2610: [libc++] Use std::is_nothrow_callable for std::invoke according to LWG 2807
rL357616: [libc++] Use std::is_nothrow_callable for std::invoke according to LWG 2807
rCXX357616: [libc++] Use std::is_nothrow_callable for std::invoke according to LWG 2807
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Also, please update the signature of invoke at the top of test/std/utilities/function.objects/func.invoke/invoke.pass.cpp.
include/functional | ||
---|---|---|
14 | Please add this to the synopsis (right now std::invoke is not mentioned): template<class F, class... Args> invoke_result_t<F, Args...> invoke(F&& f, Args&&... args) // C++17 noexcept(is_nothrow_invocable_v<_Fn, _Args...>); |
Please add this to the synopsis (right now std::invoke is not mentioned):