We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d76a23 commit 4bbf808Copy full SHA for 4bbf808
googlemock/include/gmock/gmock-matchers.h
@@ -3291,6 +3291,11 @@ auto UnpackStructImpl(const T& t, std::make_index_sequence<19>, char) {
3291
const auto& [a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s] = t;
3292
return std::tie(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s);
3293
}
3294
+template <typename T>
3295
+auto UnpackStructImpl(const T& u, std::make_index_sequence<20>, char) {
3296
+ const auto& [a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t] = u;
3297
+ return std::tie(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t);
3298
+}
3299
#endif // defined(__cpp_structured_bindings)
3300
3301
template <size_t I, typename T>
0 commit comments