| 84 | |
| 85 | template <typename T> |
| 86 | struct mock_maker { |
| 87 | template <typename is> |
| 88 | struct helper; |
| 89 | |
| 90 | template <std::size_t ... Is> |
| 91 | struct helper<seq< Is...>> { |
| 92 | using type = mock_tuple_t<visit_struct::type_at<Is, T> ...>; |
| 93 | }; |
| 94 | |
| 95 | using type = typename helper<count<visit_struct::field_count<T>()>>::type; |
| 96 | static constexpr std::size_t size = sizeof(type); |
| 97 | }; |
| 98 | |
| 99 | // Final result |
| 100 |
nothing calls this directly
no outgoing calls
no test coverage detected