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
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 30015 Build 30014: arc lint + arc unit
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 ↗ | (On Diff #186394) | 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...>); |