| 11121 | |
| 11122 | template <typename... Ts> |
| 11123 | class ValueArray { |
| 11124 | public: |
| 11125 | ValueArray(Ts... v) : v_{std::move(v)...} {} |
| 11126 | |
| 11127 | template <typename T> |
| 11128 | operator ParamGenerator<T>() const { // NOLINT |
| 11129 | return ValuesIn(MakeVector<T>(MakeIndexSequence<sizeof...(Ts)>())); |
| 11130 | } |
| 11131 | |
| 11132 | private: |
| 11133 | template <typename T, size_t... I> |
| 11134 | std::vector<T> MakeVector(IndexSequence<I...>) const { |
| 11135 | return std::vector<T>{static_cast<T>(v_.template Get<I>())...}; |
| 11136 | } |
| 11137 | |
| 11138 | FlatTuple<Ts...> v_; |
| 11139 | }; |
| 11140 | |
| 11141 | template <typename... T> |
| 11142 | class CartesianProductGenerator |
nothing calls this directly
no test coverage detected