| 1068 | |
| 1069 | template <typename R, typename F, typename... Args> |
| 1070 | constexpr R invoke_r(F&& f, Args&&... args) noexcept(std::is_nothrow_invocable_r_v<R, F, Args...>) { |
| 1071 | if constexpr (std::is_void_v<R>) { |
| 1072 | std::forward<F>(f)(std::forward<Args>(args)...); |
| 1073 | } else { |
| 1074 | return static_cast<R>(std::forward<F>(f)(std::forward<Args>(args)...)); |
| 1075 | } |
| 1076 | } |
| 1077 | |
| 1078 | enum class case_call_t { |
| 1079 | index, |
nothing calls this directly
no outgoing calls
no test coverage detected