Merge pull request #2583 from ChristophStrehle:master
PiperOrigin-RevId: 282817206
This commit is contained in:
commit
b155875f32
@ -916,7 +916,8 @@ struct WithArgsAction {
|
||||
// We use the conversion operator to detect the signature of the inner Action.
|
||||
template <typename R, typename... Args>
|
||||
operator Action<R(Args...)>() const { // NOLINT
|
||||
Action<R(typename std::tuple_element<I, std::tuple<Args...>>::type...)>
|
||||
using TupleType = std::tuple<Args...>;
|
||||
Action<R(typename std::tuple_element<I, TupleType>::type...)>
|
||||
converted(action);
|
||||
|
||||
return [converted](Args... args) -> R {
|
||||
|
Loading…
Reference in New Issue
Block a user